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

Prevent tree from being dragged out of bounds #148

Open
HagerDakroury opened this issue Apr 28, 2021 · 0 comments
Open

Prevent tree from being dragged out of bounds #148

HagerDakroury opened this issue Apr 28, 2021 · 0 comments

Comments

@HagerDakroury
Copy link
Collaborator

According to #115 (comment) , a fallback solution was implemented to restrict the translateExtent of the tree.
That solution had other side effects and is now removed. So, a more proper way to handle this is needed.

Current Behaviour:

nowZoom

Expected Behaviour:

Zooming at any level should have some limit on dragging like this, to stop out-of-view dragging.

desiredZoom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants