Fix button not losing focus after selecting a menu item in IE
parent
0dc7998262
commit
5b527ee5e1
|
@ -1,5 +1,5 @@
|
||||||
// Menu-like Picker variant with keyboard control
|
// Menu-like Picker variant with keyboard control
|
||||||
// Version 2020-06-22
|
// Version 2020-06-30
|
||||||
// License: LGPLv3.0+
|
// License: LGPLv3.0+
|
||||||
// (c) Vitaliy Filippov 2020+
|
// (c) Vitaliy Filippov 2020+
|
||||||
|
|
||||||
|
@ -62,6 +62,10 @@ export default class PickerMenu extends Picker
|
||||||
{
|
{
|
||||||
if (!this.props.keepOnClick)
|
if (!this.props.keepOnClick)
|
||||||
{
|
{
|
||||||
|
if (this.input)
|
||||||
|
{
|
||||||
|
this.input.blur();
|
||||||
|
}
|
||||||
this.blur();
|
this.blur();
|
||||||
}
|
}
|
||||||
else if (ev)
|
else if (ev)
|
||||||
|
|
Loading…
Reference in New Issue