Selecting Misc. Location on Mobile, does not clear out Crossing match param
Opened this issue · 0 comments
Niicck commented
On Desktop, you can only access the search bar after you're deselected a crossing. So the state of the selectedFeature is cleared out.
On Mobile, you can search for new locations even while you've selected a crossing. If you select a misc location from the search bar, your url params still display the previous crossing id.
This leads to at least 1 bug - you are unable to immediately reselect that same crossing.
This leads to a larger issue of reworking how CrossingMapPage's selectedFeature state should work with history.push