-
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
Some legacy widgets don't fit in the customizer block editor #31194
Comments
There are three ideas "floating" around how to solve this problem:
All three have +/- arguments going for them. I am here to argue talk about (3) because I think it's a quick solution that:
|
Hey all, I think there may be a simpler approach that won’t require new UI or major reconfigurations the Customizer sidebar — we could follow the same logic as the block toolbar overhang approach, and let wider legacy widgets overlap the preview area: wide-legacy-widgets.movExtra large widgets work in a somewhat similar way on the legacy Widgets screen, so hopefully this will feel familiar to users: Notes:
For narrow viewport sizes/mobile browsers (could use a gut check/confirmation of the expected behavior here):
|
Worth noting that widgets already have an |
@critterverse Very cool! A few questions:
|
These are great questions, thanks @kevin940726!
I wonder if we should flip the legacy widget back over from editing mode to preview mode for any scroll activity that happens within the editor. Might need to play around with this in the PR but I think this would feel ok!
The modal treatment sounds good:
Thinking outloud about pressing
Maybe more generally, the behavior could be...
Am I missing any other considerations here? Some of this keyboard behavior goes beyond the scope of this issue — let me know if a separate one would be better 😅 |
I'm not sure about this. In the old customizer widget section, tabbing through an oversized widget takes us out and into the next widget, and opening the next widget closes the previous one. A focus trap will completely change that behaviour, and the overhanging widget doesn't look much like a modal so it won't be expected that it behave like one. On the other hand, testing with keyboard in the new customizer widgets with one of the SiteOrigin widgets that embeds a tinymce editor, I can't get from inside tinymce to the rest of the widget controls, or from there to the next block, so there's definitely some improvement needed in that area 😅
Esc key behaviour sounds like a good candidate for a new issue. In any case, thanks for thinking it through @critterverse ! |
This is a helpful reference, thanks @tellthemachines. I'm having troubling imagining exactly how this would feel on the new screen (which has a few extra variables like the toggle between Editing/Preview modes and having blocks interspersed throughout). But I might be overcomplicating it — I think it's worth trying your suggestion to see how it feels 😁 Also opened a new issue to look at |
Description
Some widgets, such as most of the ones provided by the Site Origin bundle, don't fit in the thin sidebar of the customizer block editor. Previously, before we had a block editor these widgets would show their edit form in the Customizer's drawer.
Block widgets
The text was updated successfully, but these errors were encountered: