mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Merge pull request #2367 from keepassxreboot/fix/ignore_elements_with_animations
Ignore elements with animations when using dynamic input field detection
This commit is contained in:
commit
7e291a2404
1 changed files with 4 additions and 1 deletions
|
|
@ -115,7 +115,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