-
-
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] - 2.6.4 Cached Avatars Still Flickering #4271
Comments
seems the changes caused image ReferenceError in SSR and got rollbacked in #4122 |
My fix can be seen here: https://github.com/daveyplate/nextui-fixed-avatar/blob/main/src/avatar.jsx For SSR mainly I am using a hook called useIsHydrated and only referencing Image when isHydrated is true |
can you create a PR for us to review? |
I haven't made a PR here before I'm not sure the exact steps |
NextUI Version
2.6.4
Describe the bug
The previous issue was closed but I want to notify that this is still an issue in 2.6.4. Avatars that are cached should be rendered immediately but they are still fading in
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Use any Avatar, Image, or User component
Expected behavior
Cached avatars should be instantly rendered
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: