mirror of
https://github.com/Alamantus/Lexiconga.git
synced 2025-03-24 20:30:46 +01: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 (
|
||||
<IPATable
|
||||
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()) } />
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue