Popover full width for mobile hamburger menu #6648
Unanswered
isshou-tora
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Yeah, I found that style really annoying too. It doesn't seem possible to override it with Do you want the menu to fill the entire width? Or do you want it to not overflow?
Hope that helps, and hope someone comes in with a better way to deal with that property, because it (maybe naively) seems kind of silly. Nick |
Beta Was this translation helpful? Give feedback.
1 reply
-
Using containerPadding={0} can remove the left value |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks, I am trying to build mobile menu by using the sample provided in this page https://react-spectrum.adobe.com/react-aria/Menu.html.
When I set the popover width to 100%, it exceeds the viewport width:
I saw there is a "left" value in the stylesheet generated by the popover:
Is there a way to set/override it to 0px?
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions