Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cmdk client error #23

Open
mxkaske opened this issue Feb 16, 2025 · 0 comments
Open

Fix cmdk client error #23

mxkaske opened this issue Feb 16, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@mxkaske
Copy link
Member

mxkaske commented Feb 16, 2025

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.

@mxkaske mxkaske added the bug Something isn't working label Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant