-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Making select width equal to width of wrapping parent #2956
Comments
@hari5004 a few options:
|
also see #2094 |
@giladgray what would be the best way to set the width of the Select popover? |
hello, I have a similar issue, I set the I see that a translate 3d is set tot the ps: with hardcoded width on both target and menu it works fine. any advices @giladgray ? |
I was looking into this as it is a very common item I use and would love to see this enhancement implemented. My changes were adding what was above for props but also having it so that anywhere a condition was being used for I also added so that where popper calculates it's transition if fill is set to true then it will not calculate and instead will just have a If anyone has any other suggestions or methods to perform this I am all ears. Figured I'd take a whack at it and that is the solution I found easiest with the least amount of interference. |
Still having the issue with Select popover width ! I think this is a huge improvement to get something to do it automatically and stop hardcode width to make it work. |
The |
@adidahiya i'll try to take a look but can't say when. btw MultiSelect fill props work fine for TagInput but for popover it add the And you need to define |
Hi guys, any update on when this will be implemented as part of the library? |
Environment
Question
How to set the width of select component to match the width of its parent div.
The text was updated successfully, but these errors were encountered: