Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

165
Views
amp-carousel 0.2 shows the error "startLayout called but not LAYOUT_SCHEDULED currently: 2" when changing the screen resolution

When the screen resolution is changed, the console displays the message startLayout called but not LAYOUT_SCHEDULED currently: 2 and amp-img element is returned. If you stop and reload the page, the error disappears until you change the screen resolution again.

This only happens in amp-carousel version 0.2, in version 0.1 everything works without errors, but the sliders transition is too fast. The error appears for dynamic attribute value ( if width = "auto" or if layout = "responsive" and so on ) with autoplay and type="slides".

For example:

<amp-carousel
  type="slides"
  layout="fixed-height"
  height="300"
  width="auto" 
  delay="2000"
  autoplay>
 ...

or

<amp-carousel
  type="slides"
  layout="responsive"
  height="300"
  width="600" 
  delay="2000"
  autoplay>
 ...

What can I do to fix this problem or is it a bug with the amp version?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!