Needs review
Project:
Belgrade
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Feb 2026 at 12:41 UTC
Updated:
31 Mar 2026 at 09:50 UTC
Jump to comment: Most recent
When the product image carousel (Fancyapps Carousel) is used, images visibly jump/flash on page load. All carousel slides are briefly rendered as stacked block elements before the Fancyapps JS initializes and restructures the DOM into its viewport/track layout. This causes a Flash of Unstyled Content and a noticeable Cumulative Layout Shift,
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
majmunbog commentedIn the MR before Fancyapps initializes, the carousel root has opacity: 0, so the “stacked slides” phase is invisible.
Once the JS adds .is-ltr / .is-rtl, the carousel fades in at opacity: 1 with the correct layout.
Comment #4
majmunbog commented