fix(item): allow item to grow when it is used in a flex container - #28594
Merged
Conversation
brandyscarney
marked this pull request as ready for review
November 28, 2023 21:06
brandyscarney
requested review from
a team and
sean-perkins
and removed request for
a team
November 28, 2023 21:06
averyrousseau
left a comment
Contributor
There was a problem hiding this comment.
Fix looks good. Should we add a test for this?
Member
Author
|
I meant to add that in the description - I can add a test if we want one. Should it go in item? |
Contributor
|
Is there a way to show the change in behavior without |
Member
Author
|
Yeah I couldn't reproduce it outside of select so I added it to the select tests here: 6d0d490 Running screenshots now. |
averyrousseau
approved these changes
Nov 28, 2023
sean-perkins
approved these changes
Nov 29, 2023
Contributor
|
Removing myself from review since there are two approvals already. Lmk if you would still like me to look though! |
liamdebeasi
removed their request for review
November 29, 2023 14:27
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue number: N/A
What is the current behavior?
When an item containing a select is used inside of a flex container, the item collapses to
0pxwidth. Example code:Note
This bug was introduced in
feature-7.6by this commit. It cannot be reproduced onmain.What is the new behavior?
Sets the flex property to
1onion-itemso that it will grow inside of a flex container, resulting in the select being displayed. This property is ignored when inside of a block container.Does this introduce a breaking change?
Other information
feature-7.6