palantir / blueprint

A React-based UI toolkit for the web
https://blueprintjs.com/
Apache License 2.0
20.71k stars 2.17k forks source link

Implementing "safe polygon" for nested menu items #6585

Open braeden opened 10 months ago

braeden commented 10 months ago

Environment

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:

Examples

image

dmackerman commented 1 month ago

Very much needed.