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

Allow the workspace to be panned when a block is dragged near the edge #4570

Closed
maribethb opened this issue Jan 8, 2021 · 2 comments
Closed
Labels
component: coordinates issue: feature request Describes a new feature and why it should be added

Comments

@maribethb
Copy link
Contributor

If a block is being dragged near/to the edge of the workspace, the workspace could pan/scroll in that direction.
This might be better as a plugin, but either way there may be changes needed in core to support that.

Additional context

code.org has implemented this in their fork. also, Monica notes "In our WorkspaceSearch plugin we have an implementation called scrollToVisible_ that scrolls the workspace to bring the specified block into view that we could port to core and reuse for this purpose."

This was mentioned elsewhere eg #2205 (comment)

@maribethb maribethb added component: coordinates issue: feature request Describes a new feature and why it should be added labels Jan 8, 2021
@moniika moniika added this to the Bug Bash Backlog milestone Mar 30, 2021
@moniika
Copy link
Contributor

moniika commented Mar 30, 2021

Is this part of core changes needed to enable google/blockly-samples#372?

@maribethb
Copy link
Contributor Author

Yeah, there are some changes needed in core to support the plugin so this issue is for those changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: coordinates issue: feature request Describes a new feature and why it should be added
Projects
None yet
Development

No branches or pull requests

3 participants