mirror of
https://github.com/Alamantus/Lexiconga.git
synced 2025-05-10 12:11:16 +02:00
Focus input field on IPATable close
This commit is contained in:
parent
0c4824e430
commit
d9467cfe82
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ export class IPAField extends Component {
|
||||||
return (
|
return (
|
||||||
<IPATable
|
<IPATable
|
||||||
value={ this.state.value }
|
value={ this.state.value }
|
||||||
close={ () => this.setState({ doShowTable: false }) }
|
close={ () => this.setState({ doShowTable: false }, () => this.field.focus()) }
|
||||||
update={ (newValue) => this.setState({ value: newValue }, this.field.focus()) } />
|
update={ (newValue) => this.setState({ value: newValue }, this.field.focus()) } />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue