-
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
In the block inserter, hint that there are more blocks below 'Most Used' #17872
Comments
I love the idea of hinting but I think we can do it without adjusting the visual order around spacing in the block library. We could, for example, grow the library by a few px, or have animation. It would be great to explore what is a good 'hey there is more' way here. Do any other apps have one we can learn from? |
I think this would be the simplest approach. That being said, I'm not familiar with why or how we landed on the current height for the inserter popover, so I'd be cautious until someone with more knowledge chimes in. Maybe @mapk?
I think we can gather a lot of inspiration from mobile UI. IMHO they do a really good job of communicating availability of additional content on tight spaces. |
While looking at something else in https://wordpress.org/gutenberg/, I noticed that the inserter used there already does this: It seems there are different margin/padding settings: |
Upon further inspecting, it seems that the difference is that the buttons (both the panel toggle and the list items) in the demo page have a Still not ideal though, since 'Common Blocks' is cut off in half and looks more like a quirk instead of something intentional. |
I can let you know there :) There is no reason it can't grow it was just set that way in first designs. I would be cautious about it growing too much but it absolutely can be explored.
This feels like a great space to explore and I would love to see more ideas from that space. |
Closing in favor of #19836 |
Describe the bug
When opening the block inserter, it is not obvious that there are more blocks below 'Most Used' and that I have to scroll.
Proposed solution
It'd be more obvious and useful if we hinted that there's more content. I don't think we need an arrow or label to explain this. I think that if we only show a hint of what's below, the interaction should be obvious.
I just reduced the padding and margin for the purpose of this example, but I assume we can also explore other alternatives to achieve this:
The text was updated successfully, but these errors were encountered: