palantir/blueprint
Implementing "safe polygon" for nested menu items
Offen
#6.585 geöffnet am 04.12.2023
Status: needs proposalType: enhancementhelp wanted
Repository-Metriken
- Stars
- (20.263 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
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/