Add scrollbars to menus

I request we add side scrollbars for block slot menus. Specifically for menus with way too many items, like the key input menu, variables, sounds, costumes, messages, or a long custom menu. Something like this:

There already are scrollbars

Also your image is completely transparent, so I can’t see it.

huh?

just wondering, did you test this at all? because it’s already there.

I think he means horizontal scrollbars for things that get too wide.

I’m not sure, as the image is transparent

What menus are you looking at that get wider than your screen?

from what I can tell, zero.

It’s a hypothesis, though, as you still can’t see the image:

I have no idea what was wrong with the image.
i’m gonna edit the post

i fixed it

Oh so what you’re saying is that it should extend from the mouse position to the bottom, and add scrollbars instead of extending above the mouse when it becomes too large.

yes, that is exactly what i was going for. veritcal scrollbars for menus. however,

could also work

Wait a second… I think you mean making the menus not taking up the entire screen height, while still having the scrollbar, sort of like Scratch:

off-topic

i smell addons :upside_down_face:

Search bars for some Snap! menus would be reasonable too. If this gets implemented, then it should be up to the block creator’s choice whether to include a search bar on each menu or not.

What if I want to see more menu options without the necessity of scrolling down?

we could add optional handlebars to menus
null (2)
or we could do this:

Why only some menus? I’d just make search bars appear if the menu becomes long enough to scroll up and down.

All thanks to metaprogramming, this is possible. Here is my attempt at this.

We can tweak this as needed. I know that this menu is still too unwieldy as to access the search results, you will still need to move the mouse up.

you can use [sorted V] of ([selector V] of block (my [blocks V] instead of the JS I think.

(my [blocks V]) does not have all primitives. I want the list of selectors to be exactly like the primitives menu that can be chosen while editing a custom block’s slot.

(extension [IDE_BLOCKS V] ?

digitalWrite, for example.

These selectors are just an example dataset, settled?