Popover not occupying the full width of trigger #7048
Answered
by
reidbarber
RajaTheKing826
asked this question in
Q&A
-
I've developed a combobox using react aria components, but im facing an issue with it which is my popover is not occupying the full width of trigger. How can i do this? Here is the codesandbox link -> https://codesandbox.io/p/sandbox/j4wsct?file=%2Fsrc%2FRACComboBox.tsx%3A42%2C1 |
Beta Was this translation helpful? Give feedback.
Answered by
reidbarber
Sep 17, 2024
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RajaTheKing826
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use the
--trigger-width
css variable: https://codesandbox.io/p/sandbox/react-aria-components-combobox-forked-6744s5?file=%2Fsrc%2Fstyles.css%3A8%2C1-9%2C1&workspaceId=7453408d-4fc8-4591-8707-0c83aeb1ce66