Best way to make the panel width 100% for sl-dropdown #1041
Unanswered
Jaylyn-Barbee
asked this question in
Help
Replies: 1 comment 1 reply
-
Dropdowns accept an arbitrary trigger, so you'd need to size the panel to match the trigger and keep it in sync as it resizes. To do this right, you'll need a resize observer and some JavaScript. If you were using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have the trigger 100%, but I can't get the panel to match that size.
html for reference
Beta Was this translation helpful? Give feedback.
All reactions