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

Not keeping selection when changing the category #90

Closed
TheGreatRefrigerator opened this issue Jul 5, 2020 · 0 comments
Closed

Not keeping selection when changing the category #90

TheGreatRefrigerator opened this issue Jul 5, 2020 · 0 comments
Assignees

Comments

@TheGreatRefrigerator
Copy link
Collaborator

Re issue #1 in your comment:
There is a similar problem in the master branch: the selection is removed, but the map is not zoomed out. If anything, the version in this PR zooms the map out, which is expected when the selection is removed.
It appears that this behavior is due to the mouse click event bubbling up and triggering a selection reset.

Originally posted by @alexcojocaru in #82 (comment)

The selection should be kept instead of zooming out to the full extent when switching available categories

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

1 participant