scratchfoundation / scratchfoundation/scratch-blocks

Auto-scroll category menu to prevent selected category from being hidden

Open
#1,116 0 comments 0 reactions 2 assignees View on GitHub

@carljbowman is already working on this.

Since Oct 6, 2017.

design feature needs-triage
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.