MERL-Center-public icon indicating copy to clipboard operation
MERL-Center-public copied to clipboard

"Reset Filters" does not work properly

Open aphilop opened this issue 2 years ago • 1 comments

Problem description

  1. When resetting the filters, any selected checkbox remains selected, which leads to confusion and then the filter mechanism does not work anymore.
  2. 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

  1. Goto MERL Center Home page (or any other page when the filters are available).
  2. Select a category type, e.g., Case Studies.
  3. The list of articles is updated accordingly.
  4. Press the "Reset Filters" button.
  5. The list of articles is updated accordingly, but the selected checkbox remains selected.

image

Steps to reproduce problem 2

Tested with Safari in iOS 15.4.1

  1. Goto MERL Center Home page (or any other page when the filters are available).
  2. Press the "Filters" button.
  3. The filters dialog opens.
  4. Select a category type, e.g., Case Studies.
  5. The dialog closes automatically and the list of articles is updated accordingly.
  6. Press the "Filters" button again so that the filters dialog opens.
  7. Press the "Reset Filters" button
  8. The list is updated but the dialog remains open.

Reset filters iOS

Expected behavior

  1. When pressing the "Reset Filters" button, any selected checkbox must be deselected.
  2. When pressing the "Reset Filters" button, the filters dialog must close automatically.

aphilop avatar May 18 '22 19:05 aphilop

@andrewrmn - can you take a look?

malakumar85 avatar May 18 '22 20:05 malakumar85