public-convenience-ltd/toiletmap

When you search a location, if toilet details are open they should close.

Opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
As user, when searching for a toilet in another location, the toilet details panel is still displayed. This is confusing as it shows details for a toilet not in the location you are searching, especially when it is displaying distance.

Example of a searched location with toilet details of a toilet not in that location:
image

Describe the solution you'd like
When a user searches for a location, if a toilet details panel is open then it should close.

Additional context
From impromptu "usability testing" with one participant who is a regular user.