mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Fix icon position at transitionend event
This commit is contained in:
parent
a2321b2424
commit
7190573aaa
1 changed files with 6 additions and 0 deletions
|
|
@ -105,6 +105,12 @@ kpxcUI.monitorIconPosition = function(iconClass) {
|
|||
window.addEventListener('scroll', function(e) {
|
||||
kpxcUI.updateIconPosition(iconClass);
|
||||
});
|
||||
|
||||
window.addEventListener('transitionend', function(e) {
|
||||
if (e.target && (e.target.nodeName === 'INPUT' || e.target.nodeName === 'TEXTAREA')) {
|
||||
kpxcUI.updateIconPosition(iconClass);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
kpxcUI.updateIconPosition = function(iconClass) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue