OpenTwinCities / opentwincities.github.com

Main website for the Open Twin Cities group
https://www.opentwincities.org/
20 stars 16 forks source link

Show/hide list option glitch on mobile site #87

Closed drewsteff closed 4 years ago

drewsteff commented 4 years ago

On the mobile site when you click the button 'show list of locations' and are viewing the list as the button state has changed to 'hide list of locations', if you change how the list of locations is sorted using the drop down 'sort by' option, after the sorting preferences update the button goes back to saying 'show list of locations'. It doesn't revert back to the correct 'hide list of locations' if you change the sorting option to your previous choice so I think it's just when the sort option changes the button doesn't stay on 'hide list of locations' no matter what. Not a huge deal as you can still click the button to get back to the map and it just continues to say 'show list of locations' until you click again from the map.

Attached image examples below if the explanation is confusing (which it probably is, apologies!)

List locations with correct button toggle state

Switching sort by with changed button state