mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Ignore elements with animations when using dynamic input field detection
This commit is contained in:
parent
5d692ecc34
commit
cc9640c66f
1 changed files with 4 additions and 1 deletions
|
|
@ -101,7 +101,10 @@ kpxcObserverHelper.initObserver = async function() {
|
|||
// Stores mutation style to an cache array
|
||||
// If there's a single style mutation, it's safe to calculate it
|
||||
kpxcObserverHelper.cacheStyle = function(mut, styleMutations, mutationCount) {
|
||||
if (mut.attributeName !== 'style') {
|
||||
// Do not cache elements with animations
|
||||
if (mut?.attributeName !== 'style'
|
||||
|| mut?.target?.style?.transform !== ''
|
||||
|| mut?.target?.style?.transformStyle !== '') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue