forked from radix-ui/primitives
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Popper): disable pointer events when hidden (radix-ui#2745)
* fix(Popper): disable pointer events when hidden This patch sets `pointer-events: none` when the `<PopperContent>` is hidden so that the UI behaves as if it is not there at all. This ensures that users can interact with elements beneath the `<PopperContent>` uninterrupted. Ref: radix-ui#2743 (comment) Fixes: e5ba0d9 ("fix(Popper): use `visibility` to hide instead of `opacity` (radix-ui#2744)") * Move to wrapper --------- Co-authored-by: Benoît Grélard <[email protected]>
- Loading branch information
1 parent
8b1162c
commit f58a28c
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
releases: | ||
"@radix-ui/react-context-menu": patch | ||
"@radix-ui/react-dropdown-menu": patch | ||
"@radix-ui/react-hover-card": patch | ||
"@radix-ui/react-menu": patch | ||
"@radix-ui/react-menubar": patch | ||
"@radix-ui/react-popover": patch | ||
"@radix-ui/react-popper": patch | ||
"@radix-ui/react-select": patch | ||
"@radix-ui/react-tooltip": patch | ||
|
||
declined: | ||
- primitives |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters