perspective icon indicating copy to clipboard operation
perspective copied to clipboard

"in" and "not in" filters not applying under certain conditions

Open brianblakely opened this issue 2 years ago • 0 comments

Bug Report

Using repro: https://codesandbox.io/s/perspective-in-not-in-filters-37vphj

Steps to Reproduce:

  1. Change "not in" filter to "in"
  2. Focus the value field (pre-populated with "Canada,Russia"), do not edit it, and click away from it
  3. Change "in" filter back to "not in"
  4. As in step 2, focus the value field and then click away from it

Expected Result:

  • When "not in" filter is applied, all rows should be visible except for Canada's & Russia's
  • When "in" filter is applied, only the Canada and Russia rows should be visible

Actual Result:

  • After step 2, both filter modes will be applied in the correct circumstances
  • After step 4, neither filter mode will be applied
  • Repeating step 2 restores the filters

Environment:

v1.6.5 (latest as of writing); Chrome

brianblakely avatar Sep 01 '22 20:09 brianblakely