Bugfix
This commit is contained in:
parent
daa8157eb8
commit
9e755c9d94
|
@ -20,9 +20,8 @@ export default class TextEntryField extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
if (this.props.focus && this.element.current) {
|
if (this.props.focus && this.element.current)
|
||||||
this.element.current.focus({ preventScroll: true });
|
this.element.current.focus({ preventScroll: true });
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
|
Loading…
Reference in New Issue