-
Notifications
You must be signed in to change notification settings - Fork 26.1k
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
Next/images dont support lazy load w/ preact #29120
Comments
Alright this is duplicate of #26621 (comment) |
Ok, I've figured out that it was fixed at 11.1.1 somehow, and now I've another scenario: |
We cannot recreate the issue with the provided information. Please add a reproduction in order for us to be able to investigate. Why was this issue marked with the
|
This issue has been automatically closed because it wasn't verified against next@canary. If you think it was closed by accident, please leave a comment. If you are running into a similar issue, please open a new issue with a reproduction. Thank you. |
This closed issue has been automatically locked because it had no new activity for a month. 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.1.0
What version of Node.js are you using?
16.4.0
What browser are you using?
Chrome
What operating system are you using?
macOS, Windows
How are you deploying your application?
next start, Vercel
Describe the Bug
I've switched to preact recently, but eventually faced the issue that image's lazy loading stop working and it has eager behaviour
React deployment with only 10 images in the viewport: https://sberify-hq04ut6xk-knenkne.vercel.app/
Preact deployment with 50 more images out of the viewport: https://sberify-rfxxh7ed6-knenkne.vercel.app/
Expected Behavior
Next/image works correctly with preact
To Reproduce
Alias react as preact in your next.config.js
The text was updated successfully, but these errors were encountered: