-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
[bug]: Command Component doesn't compatible with React 19 and Next.js 15 #6601
Comments
same here |
Hi @ahmedkhabar I tried to regenerate the error but I couldn't, please create Codesandbox/StackBlitz and give more information my dependencies
|
@amirho1 This is a GitHub repo for the code source. Note: |
same here |
You can fix this by manually updating the "dependencies": {
- "cmdk": "1.0.0",
+ "cmdk": "^1.0.4", |
@longzheng Thank you, this solve the issue, but still we hope for better support for React.js 19 |
Worked for me. |
This works , thanks |
Describe the bug
Command Component using some deprecated React functions such as ElementRef, which give us typing errors.
Affected component/components
Command
How to reproduce
Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting
The text was updated successfully, but these errors were encountered: