allow input focus to pin a pop window

This commit is contained in:
Stewart Allen 2021-04-27 09:18:14 -04:00
commit 164232e376

View file

@ -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) {