Skip to content

Commit 76743aa

Browse files
[Popper] Fix potential issues with non-measured positioning (#541)
1 parent 7427f47 commit 76743aa

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.yarn/versions/b4dfb97b.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
releases:
2+
"@radix-ui/popper": patch
3+
"@radix-ui/react-context-menu": patch
4+
"@radix-ui/react-dropdown-menu": patch
5+
"@radix-ui/react-menu": patch
6+
"@radix-ui/react-popover": patch
7+
"@radix-ui/react-popper": patch
8+
"@radix-ui/react-tooltip": patch
9+
10+
declined:
11+
- primitives

packages/core/popper/src/popper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ const UNMEASURED_POPPER_STYLES: CSS.Properties = {
359359
top: 0,
360360
left: 0,
361361
opacity: 0,
362-
pointerEvents: 'none',
362+
transform: 'translate3d(0, -200%, 0)',
363363
};
364364

365365
const UNMEASURED_ARROW_STYLES: CSS.Properties = {

0 commit comments

Comments
 (0)