Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting Misc. Location on Mobile, does not clear out Crossing match param #417

Open
Niicck opened this issue Dec 13, 2018 · 0 comments
Open
Labels

Comments

@Niicck
Copy link
Collaborator

Niicck commented Dec 13, 2018

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.

screen shot 2018-12-13 at 10 59 41 am

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

@Niicck Niicck added the bug label Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant