-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Product gallery jumps while loading #32315
Comments
Hi @ihor-sviziev. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@magento give me 2.4-develop instance |
Hi @ihor-sviziev. Thank you for your request. I'm working on Magento instance for you. |
Hi @ihor-sviziev, here is your Magento Instance: https://0590065bebcb18e5c5923653b97612d8-2-4-develop.instances.magento-community.engineering |
Personally I've replaced the function with
I found the fotoramaStage troublesome like you did and the f:load function seems unreliable (causing jumps as well) Since the slowest part is loading the gallery, hiding the element, removing placeholder, then showing the element seemed to be the most reliable answer. I tried other variations, trying to make use of the fotorama f:load event, but it never seemed to produce the desired results in a reliable fashion. |
@Quazz, your solution will probably cause gallery blinking and potentially add Layout Shift, making worse Google Pagespeed Results. |
The solution from this PR Showing white close to 0 layout shift
…On Fri, 9 Apr 2021 at 10:48, Quazz ***@***.***> wrote:
@Quazz <https://github.com/Quazz>, your solution will probably cause
gallery blinking and potentially add Layout Shift, making worse Google
Pagespeed Results.
There is a slight blinking (followed swiftly by ajax spinner), but 0
layout shift.
I care less about that slight blinking than about the layout shift, but if
someone has a solution that fixes both that would be ideal.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#32315 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOJOUKXPONOE6M4CGGUTUTTH2WLVANCNFSM4YMSB3XA>
.
|
Hi @engcom-Dash. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Dash, here is your Magento Instance: https://99e89c12840cc34c7b33da75188db8de.instances-prod.magento-community.engineering |
These changes were already merged in another pull request #33265 (comment) |
It seems like after #27871 we have a bit jumpy gallery again. My investigation shown that it's happening because of not hiding the thumbnails below the big image.
/CC @krzksz
Preconditions (*)
Steps to reproduce (*)
magento2/lib/web/mage/gallery/gallery.js
Line 307 in 15860ab
.fotorama-item
itemExpected result (*)
Actual result (*)
Dev tools:
Desktop:
Mobile:
Echo.Fit.Compression.Short.-.Google.Chrome.2021-03-01.16-04-55.mp4
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: