This commit is contained in:
Rainer Simon 2021-07-05 21:18:59 +02:00
parent daa8157eb8
commit 9e755c9d94
1 changed files with 1 additions and 2 deletions

View File

@ -20,10 +20,9 @@ export default class TextEntryField extends Component {
}
componentDidMount() {
if (this.props.focus && this.element.current) {
if (this.props.focus && this.element.current)
this.element.current.focus({ preventScroll: true });
}
}
render() {
return (