perspective
perspective copied to clipboard
"in" and "not in" filters not applying under certain conditions
Bug Report
Using repro: https://codesandbox.io/s/perspective-in-not-in-filters-37vphj
Steps to Reproduce:
- Change "not in" filter to "in"
- Focus the value field (pre-populated with "Canada,Russia"), do not edit it, and click away from it
- Change "in" filter back to "not in"
- 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