blueprint
blueprint copied to clipboard
Implementing "safe polygon" for nested menu items
Environment
- Package version(s): N/A
- Browser and OS versions: N/A
Feature request
The supersceding library to popper.js
(floating-ui) has this feature built in, but the idea is to make better guarantees about where a user can safely move their mouse without dismissing the popover accidentally & expose this on the public API.
See:
- https://floating-ui.com/docs/usehover#safepolygon
- https://www.smashingmagazine.com/2023/08/better-context-menus-safe-triangles/