refactor(ZenCompactMode): comment out relatedTarget check for hover state experimentation

This commit is contained in:
mr. M
2025-03-23 23:54:07 +01:00
parent f3ff74b0df
commit e79afc87ca

View File

@@ -394,9 +394,10 @@ var gZenCompactModeManager = {
// When moving the cursor between the url bar and bookmarks, or in-between bookmarks in the bookmark bar, the
// mouseLeave event is triggered without a relatedTarget.
if (event.relatedTarget == null) {
return;
}
// TODO: Experiment with this for some time, see if people still have issues with the hover state
//if (event.relatedTarget == null) {
// return;
//}
// If it's a child element but not the target, ignore the event
if (target.contains(event.explicitOriginalTarget) && event.explicitOriginalTarget !== target) {