Fix menus losing focus
parent
691b6384ee
commit
0dc7998262
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue