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

Fix gumshoe scrolling for multiple counties #143

Open
doub1ejack opened this issue Nov 8, 2020 · 1 comment
Open

Fix gumshoe scrolling for multiple counties #143

doub1ejack opened this issue Nov 8, 2020 · 1 comment

Comments

@doub1ejack
Copy link
Member

Problem: When petitions page updates with multiple counties listed, the gumshoe library throws an error and does not show the active navigation item.

**Recreate: **

  1. Add counts from 2 different counties
  2. Open the printable petitions page
  3. Click the Order by Petitions checkbox
  4. Click nav items in different counties
  5. Note that the sidenav is only active for some nav items now (probably only in the last county)

@doub1ejack
Copy link
Member Author

Note, my guess is that gumshoe needs to be updated. I would have thought that using reflow: true would have done the trick, but it doesn't.

The api (https://www.npmjs.com/package/gumshoejs#nested-navigation) also has a spy.setup() and spy.destroy() function that might prove useful.

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

No branches or pull requests

1 participant