Skip to content

Commit e79afc8

Browse files
committedMar 23, 2025
refactor(ZenCompactMode): comment out relatedTarget check for hover state experimentation
1 parent f3ff74b commit e79afc8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎src/browser/base/zen-components/ZenCompactMode.mjs

+4-3
Original file line numberDiff line numberDiff line change
@@ -394,9 +394,10 @@ var gZenCompactModeManager = {
394394

395395
// When moving the cursor between the url bar and bookmarks, or in-between bookmarks in the bookmark bar, the
396396
// mouseLeave event is triggered without a relatedTarget.
397-
if (event.relatedTarget == null) {
398-
return;
399-
}
397+
// TODO: Experiment with this for some time, see if people still have issues with the hover state
398+
//if (event.relatedTarget == null) {
399+
// return;
400+
//}
400401

401402
// If it's a child element but not the target, ignore the event
402403
if (target.contains(event.explicitOriginalTarget) && event.explicitOriginalTarget !== target) {

0 commit comments

Comments
 (0)
Failed to load comments.