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,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() {