Skip to content

Filters - Clearing filterVariant: 'text', using 'X' button doesn't clear the selected value if click very fast. #1505

@pashahaM

Description

@pashahaM

material-react-table version

3.2.1

react & react-dom versions

react: 19.1.0, material: 7.3.5, react-dom: 19.1.0

Describe the bug and the steps to reproduce it

Go to this example: https://www.material-react-table.com/docs/examples/filter-variants#customize-filter-variants-demo

On the "Name" field select some text
Click on the "X" button very quickly, as soon as you finish typing
RESULT: the field has not cleared

Minimal, Reproducible Example - (Optional, but Recommended)

https://www.material-react-table.com/docs/examples/filter-variants#customize-filter-variants-demo

Screenshots or Videos (Optional)

Do you intend to try to help solve this bug with your own PR?

None

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions