mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-10 11:25:29 +02:00
Fixed toolbar jittering when in compact mode (https://github.com/zen-browser/desktop/issues/3916)
This commit is contained in:
parent
255f8f8fbd
commit
78b32002d7
2 changed files with 6 additions and 1 deletions
|
@ -312,6 +312,11 @@ var gZenCompactModeManager = {
|
|||
}
|
||||
}
|
||||
|
||||
// If it's a child element but not the target, ignore the event
|
||||
if (target.contains(event.explicitOriginalTarget) && event.explicitOriginalTarget !== target) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.hoverableElements[i].keepHoverDuration) {
|
||||
this.flashElement(target, keepHoverDuration, 'has-hover' + target.id, 'zen-has-hover');
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue