Closed rudokemper closed 4 years ago
The sort stories dropdown should just filter the stories in the sidebar (in order A-Z, Z-A, or Most Recent). Currently, it seems to also triggering resetMapToCenter() as the map pans back to the default zoom and bounds. It should not be.
sort stories
resetMapToCenter()
This behavior can be replicated in the demo: http://terrastories.herokuapp.com/en/home
Type of place
nonprofit campus
Sort stories
Could this be related to https://github.com/Terrastories/terrastories/issues/259?
The
sort stories
dropdown should just filter the stories in the sidebar (in order A-Z, Z-A, or Most Recent). Currently, it seems to also triggeringresetMapToCenter()
as the map pans back to the default zoom and bounds. It should not be.This behavior can be replicated in the demo: http://terrastories.herokuapp.com/en/home
Type of place
>nonprofit campus
. The map will zoom to the one point of this kind (as it should).Sort stories
filter to anything else. It will zoom back to the default zoom/bounds (as it shouldn't).