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

Switching across resource types resets Filters but the reset is not applied to the visual Filter component #541

Open
gcardonag opened this issue Oct 16, 2024 · 0 comments
Labels
Bug Something isn't working Version 2.1

Comments

@gcardonag
Copy link
Contributor

gcardonag commented Oct 16, 2024

Describe the bug
If a user has a filter / filters selected on resource type A (ex- Water), switches to resource type B (ex- Food) and then goes back to resource type A, all the filters are visually toggled "on" but the filters are not filtering the list. A user has to toggle them off and on again to get them to apply.
This happens on both desktop and mobile.

To Reproduce
Steps to reproduce the behavior:

  1. Go to beta.phlask.me
  2. Click on Filters
  3. Apply filters that affect the locations shown
  4. Click on Resources, then click on "Food", then click back to "Water"
  5. You should see all locations, as if no filter was applied
  6. Click on Filters
  7. You should see filters still shown as if they were active

Expected behavior
When switching between resource types, all filters should be cleared visually.

Screenshots
https://github.com/user-attachments/assets/5ad73d8e-95d0-4708-8df9-4ca5e97ac285

@gcardonag gcardonag added Bug Something isn't working Version 2.1 labels Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Version 2.1
Projects
None yet
Development

No branches or pull requests

1 participant