allow input focus to pin a pop window
This commit is contained in:
parent
ea1a228d5b
commit
164232e376
1 changed files with 2 additions and 0 deletions
|
|
@ -657,6 +657,7 @@
|
|||
}
|
||||
ip.addEventListener('focus', function(event) {
|
||||
hidePop();
|
||||
setSticky(true);
|
||||
});
|
||||
if (action) {
|
||||
ip.addEventListener('keydown', function(event) {
|
||||
|
|
@ -686,6 +687,7 @@
|
|||
}
|
||||
});
|
||||
ip.addEventListener('blur', function(event) {
|
||||
setSticky(false);
|
||||
lastChange = ip;
|
||||
action(event);
|
||||
if (opt.trigger) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue