You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user clicks on a school on the map, the map will autocenter that school. This is somewhat unexpected on desktop web, and more jarring on mobile.
This also happens when keyboard navigating (eg TAB key) to OR selecting a school from the search filter when it's still in the map's visible area, which is similarly unexpected.
What should have happened instead?
When a user clicks on a school on the map, the map should not autocenter or pan at all.*
If the user keyboard navigates to a school OR selects a school from the search filter, however, we should still autocenter/pan to it if it's not currently in the map's visible area or it's obscured by another UI element.
*Arguably, it does make sense to pan if the map marker is at the very edge of the map, especially if it's cut off. However, we are not addressing that unhappy path case in this bug.
Version
supportsfschools.org (Production)
The text was updated successfully, but these errors were encountered:
This has been fixed on main. However, a new issue was identified in which a school marker can still be obscured by other elements (in particular, the school detail card on mobile).
What happened?
When a user clicks on a school on the map, the map will autocenter that school. This is somewhat unexpected on desktop web, and more jarring on mobile.
This also happens when keyboard navigating (eg TAB key) to OR selecting a school from the search filter when it's still in the map's visible area, which is similarly unexpected.
What should have happened instead?
When a user clicks on a school on the map, the map should not autocenter or pan at all.*
If the user keyboard navigates to a school OR selects a school from the search filter, however, we should still autocenter/pan to it if it's not currently in the map's visible area or it's obscured by another UI element.
*Arguably, it does make sense to pan if the map marker is at the very edge of the map, especially if it's cut off. However, we are not addressing that unhappy path case in this bug.
Version
supportsfschools.org (Production)
The text was updated successfully, but these errors were encountered: