-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fix/select control multiple #43213
Fix/select control multiple #43213
Conversation
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @mediaformat! In case you missed it, we'd love to have you join us in our Slack community, where we hold regularly weekly meetings open to anyone to coordinate with each other. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
I still need to test this with react-native |
New SelectControl multiple test on Storybook https://mediaformat.github.io/gutenberg/?path=/story/components-selectcontrol--select-multiple Current style fixes did not account for mobile, will adjust |
No need for this, the component for react-native is a wholly different implementation 👍 |
@mirka the component, renders differently depending on desktop or mobile, i imagine it's based on device |
Do you mean the responsive styles in the Sass file, or the special appearance on iOS Safari (not sure what happens on Android)? Sass file — There seem to be a lot of redundant styles in there that are already being overridden by the Emotion file. Now might be a good time to clean that up if they are clashing in any way with what we're trying to do here. iOS — I think the best way would be to just stick with DemosiOSRPReplay_Final1671641827.movDesktopAll options expanded by default. Maybe we could add a reasonable |
Hey @mediaformat , let us know if you need any extra help on moving this one forward! |
This is a long-standing issue and I'd like to resolve it sooner rather than later. @mediaformat are you still available to work on this? If not I'd be happy to take over 🙂 |
If we aim at releasing this fix with the next WordPress release, we should resume work on this issue fairly soon. I guess we can decide a date by which we can take over and ship the fix :) |
I will be taking over to get this into WP 6.2. Thanks for working on this, @mediaformat! 👉 #47893 |
What?
This fix removes the double-arrow from
multiple
select.Why?
SelectControl component with
multiple
enabled currently displays the double arrow associated with the pop-over.Original issue #27166
This PR builds on the Original PR
#28817
How?
Conditionally render double arrow if
multiple
isn’t enabledAlso add a storybook option to display
multiple
Testing Instructions
Visible on desktop view of storybook
https://wordpress.github.io/gutenberg/?path=/story/components-selectcontrol--default&args=multiple:true
Screenshots or screencast