Fix menus losing focus

master
Vitaliy Filippov 2020-06-23 15:29:59 +03:00
parent 691b6384ee
commit 0dc7998262
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
// Menu-like Picker variant with keyboard control // Menu-like Picker variant with keyboard control
// Version 2020-04-27 // Version 2020-06-22
// License: LGPLv3.0+ // License: LGPLv3.0+
// (c) Vitaliy Filippov 2020+ // (c) Vitaliy Filippov 2020+
@ -97,7 +97,7 @@ export default class PickerMenu extends Picker
{ {
if (e) if (e)
{ {
if (!this.renderInput) if (!this.props.renderInput)
{ {
e.focus(); e.focus();
} }