File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
frontend/src/components/layout Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 321321
322322 // POINTER STRAY
323323 // 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 ) ;
324+ const notHoveringOverOwnSpawner = ownSpawner !== targetSpawner ;
325325 if (strayCloses && notHoveringOverOwnSpawner && isPointerEventOutsideFloatingMenu (e , POINTER_STRAY_DISTANCE )) {
326326 // TODO: Extend this rectangle bounds check to all submenu bounds up the DOM tree since currently submenus disappear
327327 // TODO: with zero stray distance if the cursor is further than the stray distance from only the top-level menu
You can’t perform that action at this time.
0 commit comments