Clicking the Clear Filter Button Should Clear the Filter But Leave the Dropdown Open #2384
Labels
Type: Bug
Issue contains a defect related to a specific component.
Milestone
There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours
I'm submitting a ... (check one with "x")
Codesandbox Case (Bug Reports)
Please fork the codesandbox below and create a case demonstrating your bug report. Issues without a codesandbox have much less possibility to be reviewed.
https://codesandbox.io/s/awesome-cdn-96r3y?file=/src/demo/DropdownDemo.js
Current behavior
When you click the "Clear Filter" (X) button, it clears the filter and closes the dropdown.
Expected behavior
When you click the "Clear Filter" button, it should clear the filter but leave the dropdown open and visible.
Minimal reproduction of the problem with instructions
Open sandbox above.
Type "new" in the filter to display "new york."
Click the clear filter button.
The dropdown closes.
React version:
17.0.2
PrimeReact version:
6.6.0
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
The text was updated successfully, but these errors were encountered: