8000 Dropdown with long list of variables does not scroll to selected variable · Issue #4465 · google/blockly · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Dropdown with long list of variables does not scroll to selected variable #4465
Closed
@PetrPakhomov

Description

@PetrPakhomov

Problem statement

Problem occurred with drop down list if there are more than 1 existing variables.

If a user selected 2 different variables (A first, then B) in different blocks and then he needs to get back to variable dropdown "А", he must scroll itself the "A" dropdown to find the selected item and change the selected variable.

Steps to Reproduce
Create a long list of variables (more than 20).
Place 2 "set variable to" blocks to the workspace.
Click on dropdown of the first "Set" block and select the first variable in the list.
Click on dropdown of the second "Set" block and select the last variable in the list.
Click on dropdown of the first "Set" block.

Expected result
The variable list is scrolled to the top of the list. The selected variable is showed.

Actual result
The variable list is still on the bottom (it didn't scrolled to the top) and shows the area around the last variable.
image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0