palantir/blueprint

Implementing "safe polygon" for nested menu items

Open

#6,585 opened on Dec 4, 2023

View on GitHub
 (1 comment) (7 reactions) (0 assignees)TypeScript (2,167 forks)batch import
Status: needs proposalType: enhancementhelp wanted

Repository metrics

Stars
 (20,263 stars)
PR merge metrics
 (Avg merge 43d 10h) (27 merged PRs in 30d)

Description

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:

Examples

image

Contributor guide