-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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] - React does not recognize the disableAnimation
prop on a DOM element.
#3257
Comments
Can you share which site pages you were visiting? I didn't see this error. |
localhost |
please provide a minimal reproducible example |
d.mov |
I also started experiencing this after updating to 2.4.2 |
This is happening on all Avatars on 2.4.2 |
@LeakedDave The fix will be available in the upcoming v2.4.3. Please use the canary version |
When new version released? |
@uigywnkiub Currently I don't have the exact date. We need to discuss internally first. |
same question. looking forward to the new version being released. ❤️ |
i have the same problem with 2.4.2, hope it will be fixed soon |
This does not work with individual adding components |
how to install this? and when comes the new release? |
My bad, the issue was on User component, not Avatar.
|
Hello guys, I was having this same error, but I changed the import from the specific component to the global components: This produces the error for me: So I changed the import and the error is gone, and still works fine :) Hope this works for you in case you don't like seing errors like me lol. This is a temporary fix while we wait for the new version:) |
I actually think the type of import depends on the type of installation. If I understand what you are saying, I suggest you refresh your node_modules cache. |
Ohh, yes it depends on the installation, I didn't try refreshing node_modules cache, I'll try that to see if that also works and return to write if so, thank you so much :) Edit: I tried refreshing the cache and did not work :(, so I think this time I'll stick with my solution. |
@King-Mufasa latest version is 2.4.6. please upgrade to include the fix |
The version still have the error in some cases. |
@uigywnkiub please share some steps for us to reproduce |
using NextUI/AvatarGroup with next/image will cause this error React does not recognize the for example:
i haven't tested yet but i guess same issue happens when using @nextui-org/user component with next/image |
@eaglit please share a sandbox |
app-index.js:33 Warning: React does not recognize the |
@Amanow01 please share the reproducible code. |
If I use Image, it get error disableAnimation props... so I used to regular img to avoid it. |
NextUI Version
2.4.2
Describe the bug
In browser console
Warning: React does not recognize the
disableAnimation
prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercasedisableanimation
instead. If you accidentally passed it from a parent component, remove it from the DOM element.Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Bug reproduce of all your site pages.
Expected behavior
As a user, I expected disableanimation prop in lowercase (maybe), but I am seeing a warning error log in console browser that cannot recognize attribute.
Screenshots or Videos
Operating System Version
Browser
Chrome
The text was updated successfully, but these errors were encountered: