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

Election search map not zooming in on selected states properly #2447

Closed
5 tasks
Tracked by #143
JonellaCulmer opened this issue Oct 15, 2018 · 0 comments · Fixed by #2502
Closed
5 tasks
Tracked by #143

Election search map not zooming in on selected states properly #2447

JonellaCulmer opened this issue Oct 15, 2018 · 0 comments · Fixed by #2502
Assignees
Milestone

Comments

@JonellaCulmer
Copy link
Contributor

JonellaCulmer commented Oct 15, 2018

What we're after: The election search map is one way that users can filter and search for elections within a particular state or district. To help users accomplish that goal, the map should zoom in on relevant areas.

However, when selecting specific states from the dropdown list, the zoom in function is not working appropriately, sometimes zooming out instead of zooming in.

What it looks like when it's working:
screen shot 2018-10-15 at 11 30 44 am

What it looks like when it's not working:
screen shot 2018-10-15 at 11 30 54 am

On first select the state appears correctly, but then each subsequent state selection is effected. It doesn't appear that the glitch or bug is affecting the same "states" consistently, but here are some that were observed having this issue:

  • American Samoa
  • Arizona
  • Arkansas
  • Colorado
  • Delaware
  • District of Columbia
  • Florida
  • Guam
  • Hawaii
  • Idaho
  • Iowa
  • Kentucky
  • Maine
  • Maryland
  • Massachusetts
  • Michigan
  • Minnesota
  • Mississippi
  • Missouri
  • Montana
  • Nevada
  • New Hampshire
  • New Jersey
  • New Mexico
  • North Carolina
  • North Dakota
  • Northern Mariana Islands
  • Oklahoma
  • Oregon
  • Pennsylvania
  • Puerto Rico
  • South Carolina
  • South Dakota
  • Texas
  • U.S. Virgin Islands
  • Vermont
  • Virginia
  • Washington
  • Wisconsin
  • Wyoming

Completion criteria:

  • Check across browser types including but not limited to Chrome, IE, and Firefox
  • If external library is in use, check to make sure we're using the latest version
  • Debug first by going to page, toggle between different states to see if there are any JS console errors
  • Investigate and correct the flawed and inconsistent zooming function on the map
  • Add to release notes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants