We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 187b4c3 commit 7f6571eCopy full SHA for 7f6571e
1 file changed
frontend/src/components/layout/FloatingMenu.svelte
@@ -321,7 +321,7 @@
321
322
// POINTER STRAY
323
// Close the floating menu if the pointer has strayed far enough from its bounds (and it's not hovering over its own spawner)
324
- const notHoveringOverOwnSpawner = ownSpawner !== targetSpawner || (ownSpawner === undefined && targetSpawner === undefined);
+ const notHoveringOverOwnSpawner = ownSpawner !== targetSpawner;
325
if (strayCloses && notHoveringOverOwnSpawner && isPointerEventOutsideFloatingMenu(e, POINTER_STRAY_DISTANCE)) {
326
// TODO: Extend this rectangle bounds check to all submenu bounds up the DOM tree since currently submenus disappear
327
// TODO: with zero stray distance if the cursor is further than the stray distance from only the top-level menu
0 commit comments