-
Notifications
You must be signed in to change notification settings - Fork 27.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
Unknown event handler property onLoadingComplete
. It will be ignored.
#27867
Comments
What version of Next.js are you using?11.0.1 What version of Node.js are you using?14.17.0 What browser are you using?Firefox What operating system are you using?Windows Describe the BugI am experiencing somewhat of the same problem. VS Code is showing an error on this property that, this property does not exist in ImageProps. And even though I run the application, the function is not executed. here is the code I have written <Image
src={src}
alt={alt}
width={width}
height={height}
layout="responsive"
onLoadingComplete={() => setIsImageLoaded.on()}
/> I am trying to create an image fade-in component, so when the image is loaded it will set |
Faced the same issue and solved it by installing beta 11.0.2 |
The docs have been updated in #27440 to include the version that We just released Next.js 11.1.0 so remember to upgrade with |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What version of Next.js are you using?
11.0.1
What version of Node.js are you using?
14.7.0
What browser are you using?
Safari
What operating system are you using?
macOS
How are you deploying your application?
Vercel
Describe the Bug
Expected Behavior
onLoadingComplete
should be accepted and calledTo Reproduce
The text was updated successfully, but these errors were encountered: