MERL-Center-public
MERL-Center-public copied to clipboard
"Reset Filters" does not work properly
Problem description
- When resetting the filters, any selected checkbox remains selected, which leads to confusion and then the filter mechanism does not work anymore.
- In mobile view, when pressing the "Reset Filters" button, the dialog does not close automatically (as when deselecting a checkbox).
Steps to reproduce problem 1
Tested with Safari and Firefox in MacOS Big Sur
- Goto MERL Center Home page (or any other page when the filters are available).
- Select a category type, e.g., Case Studies.
- The list of articles is updated accordingly.
- Press the "Reset Filters" button.
- The list of articles is updated accordingly, but the selected checkbox remains selected.
Steps to reproduce problem 2
Tested with Safari in iOS 15.4.1
- Goto MERL Center Home page (or any other page when the filters are available).
- Press the "Filters" button.
- The filters dialog opens.
- Select a category type, e.g., Case Studies.
- The dialog closes automatically and the list of articles is updated accordingly.
- Press the "Filters" button again so that the filters dialog opens.
- Press the "Reset Filters" button
- The list is updated but the dialog remains open.
Expected behavior
- When pressing the "Reset Filters" button, any selected checkbox must be deselected.
- When pressing the "Reset Filters" button, the filters dialog must close automatically.
@andrewrmn - can you take a look?