# Context menus: guiding the cursor into submenus

Canonical source : [Context menus: guiding the cursor into submenus](<https://sebastien.rigaux.be/en/tech-watch/links/context-menus-guiding-the-cursor-into-submenus>)

Submenus become frustrating when a diagonal cursor movement makes them lose focus. This article compares ways to keep a menu open during that movement: a triangular safe area, a curved SVG path, or intent prediction based on cursor speed and position.

The key details are the interaction trade-offs: a safe area implemented as a DOM element can intercept clicks, while speed-based checks may close the menu for people who move the cursor slowly. The article also shows how React Aria accounts for tremors and for touch or pen input.

- Selected on : 2026-11-22

- Entry updated : 2026-11-22T19:49:55+0000

- Format : Article

- Source language : EN

- Credit : Soren Blank

Original resource : [Context menus: guiding the cursor into submenus](<https://sorenblank.com/craft/the-invisible-shape>)

Tags : [UI/UX](<https://sebastien.rigaux.be/en/tech-watch/tags/ui-ux>) · [Accessibility](<https://sebastien.rigaux.be/en/tech-watch/tags/accessibility>) · [SVG](<https://sebastien.rigaux.be/en/tech-watch/tags/svg>)

Available versions : [Français](<https://sebastien.rigaux.be/veille/liens/menus-contextuels-guider-le-curseur-vers-les-sous-menus>) · [English](<https://sebastien.rigaux.be/en/tech-watch/links/context-menus-guiding-the-cursor-into-submenus>)

[Back to tech watch](<https://sebastien.rigaux.be/en/tech-watch>)
