[DropdownMenu]: Style applied to the body[data-scroll-locked]
messes up position: sticky
on the child elements
#2873
Replies: 6 comments 2 replies
-
+1 |
Beta Was this translation helpful? Give feedback.
-
Hi, on the |
Beta Was this translation helpful? Give feedback.
-
+1 |
Beta Was this translation helpful? Give feedback.
-
+1 |
Beta Was this translation helpful? Give feedback.
-
+1 |
Beta Was this translation helpful? Give feedback.
-
Anyone figure this out? Setting the modal to false doesnt seem to fix it either |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Opening the Radix DropdownMenu makes a div with
position: sticky;
relative again for some reason. I wasn't able to reproduce this, so probably it's not a bug. But I am lost, where would the problem lie?If I override the
overflow: hidden
behavior on body, then it works fine.Screen.Recording.2024-05-02.at.9.24.06.AM.mov
Beta Was this translation helpful? Give feedback.
All reactions