-
Notifications
You must be signed in to change notification settings - Fork 55
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
Canvass assignments: Zoom in map not working as expected #2355
Comments
Hi @ziggabyte, can you help me find the way: If I go to Can you help me find the 'entry point' to this? |
@troldmand: Are you running this locally? If so, you need to have the feature flag FEAT_AREAS=* defined as an environment variable for the Areas (and canvass assignments) feature to be enabled. The feature is enabled on https://app.dev.zetkin.org/, so you can try to reproduce it there first. |
Thx, yeah, I was rubbing locally. Nice you are using feature flagging! 😱 |
Gave it a shot. Found a quick way to reproduce:
|
Please be as thorough as possible, but if you can't answer everything, please just submit what you have! Thank you!
Description
When I go to the "Map" tab in a canvass assignment, the "+", "-" and "home icon" buttons up to the left don't work until i have interacted with the map in some other way first (like click on one of the buttons on the right side of the map, or click on an area in the map).
Sometimes when i go to the "Map" tab, the map renders in the most zoomed in level possible. I cannot see a pattern to when this happens. This is hard to describe how to reproduce - it just to me seems to occur randomly when i arrive at the Map tab.
I use Firefox if that might have any effect
Steps to reproduce 1)
Expected Behaviour
It zooms in one step
Actual Behaviour
It does nothing
Screenshots (if you have any)
(i am clicking the + icon and nothing is happening)
Suggestions
Note: this does not happen for me in the map in
../areas
, so whatever is going on there is workingThe text was updated successfully, but these errors were encountered: