You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to add loading attr for Avatar component to have lazy-loading function, but it doesn't work well because the loading attribute doesn't be passed to use-image hook so it still loaded each image in the first time instead of scrolling
Description
I want to add
loading
attr forAvatar
component to havelazy-loading
function, but it doesn't work well because theloading
attribute doesn't be passed touse-image
hook so it still loaded each image in the first time instead of scrollingat line 34 of
avatar-image.tsx
Link to Reproduction
https://codesandbox.io/s/dark-wind-xc0t2m?file=/src/index.js
Steps to reproduce
Network
tabimage
Success
orFailure
example and see the differences (Remember refresh the whole page cuz cache)lazyloading
function of original img tag works well butImage
orAvatar
doesn't.Chakra UI Version
3.2.1
Browser
No response
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: