Skip to content

Fix cmdk client error #23

@mxkaske

Description

@mxkaske

There is a known issue regarding the DataTableFilterCommand when the input is edited and you exit via Esc.

How to reproduce:

  1. Go to /infinite
  2. Open cmdk
  3. Enter "status:200" and exit
  4. Open cmdk again
  5. Delete the last "0" (so that its "status:20") and exit via "Escape" or button press outside of the dialog area (not via "Enter")
Error: Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

There is most likely an infinite useEffect loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions