scratchfoundation / scratchfoundation/scratch-blocks
Auto-scroll category menu to prevent selected category from being hidden
@carljbowman is already working on this.
Since Oct 6, 2017.
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 1.6k
- Avg merge
- 4h 51m
- Merged PRs (30d)
- 12
Description
Expected Behavior
When the category menu is long enough to extend beyond the view, it should automatically scroll itself to make sure the currently selected category is visible. This should occur anytime the blocks flyout scrolls or auto-scrolls, including wheel/drag/scrollbar events, clicking a category menu button (such as one that is part-way off screen), or when an extension category is added.
Actual Behavior
The category menu does not auto-scroll and categories extending below the view are hidden.
Steps to Reproduce
Shorten the window height to hide the bottom-most category.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.