Skip to content
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

Blocks unexpectedly scrolled up or down (reopened) #4678

Closed
janhink opened this issue Mar 5, 2021 · 1 comment
Closed

Blocks unexpectedly scrolled up or down (reopened) #4678

janhink opened this issue Mar 5, 2021 · 1 comment
Assignees
Labels
component: coordinates component: toolbox/flyout issue: bug Describes why the code or behaviour is wrong

Comments

@janhink
Copy link

janhink commented Mar 5, 2021

Describe the bug

This is a reopened issue #4414

The original issue was fixed for a toolbox which either doesn't contain categories at all, or contains simple categories. However, it still doesn't work if it contains a hierarchy of categories.

Using updateToolbox() method on a workspace containing scrollbars unexpectedly moves the blocks found in the workspace if the toolbox has sub-categories.

To Reproduce

  1. Open the Plunker for the issue : https://plnkr.co/edit/urbkFROTSdjSTQsY
  2. Follow the instructions found on the page

Expected behavior

Block should stay where it was as when a toolbox with sub-categories is used

Desktop

  • OS: Windows
  • Browser: Chrome
  • Browser Version: 89.0.4389.72 (Official Build) (64-bit)
  • Blockly Version: 4.20201217.0
@janhink janhink added issue: triage Issues awaiting triage by a Blockly team member issue: bug Describes why the code or behaviour is wrong labels Mar 5, 2021
@rachel-fenichel rachel-fenichel added component: coordinates component: toolbox/flyout and removed issue: triage Issues awaiting triage by a Blockly team member labels Mar 5, 2021
@rachel-fenichel rachel-fenichel added this to the 2021_q1_release milestone Mar 5, 2021
@alschmiedt
Copy link
Contributor

Fixed in #4921

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: coordinates component: toolbox/flyout issue: bug Describes why the code or behaviour is wrong
Projects
None yet
Development

No branches or pull requests

3 participants