Fix gumshoe scrolling for multiple counties
Opened this issue · 1 comments
doub1ejack commented
Problem: When petitions page updates with multiple counties listed, the gumshoe library throws an error and does not show the active navigation item.
**Recreate: **
- Add counts from 2 different counties
- Open the printable petitions page
- Click the Order by Petitions checkbox
- Click nav items in different counties
- Note that the sidenav is only active for some nav items now (probably only in the last county)
doub1ejack commented
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.