Amphtml: amp-carousel: Support RTL

Created on 8 Jul 2018  路  8Comments  路  Source: ampproject/amphtml

amp-carousel Soon Bug DevX Internationalization components

All 8 comments

/cc @nainar

Could you elaborate? Right to left ...?

Yep, if we set dir= rtl on body, bunch of things should flip but carousel needs extra fixes. Next prev icons need to flip, last slide becomes first slide, loop autoplay should play backwards.

also the carousel images will not load if the direction is set to "rtl"
here is a screenshot from my project, surprisingly i have set the direction in the chrome developer tools and the images that were loaded before in not shown any more.
untitled

to be verified in carousel v2

Hello, let me ask you about the situation since I also need this feature for my project.
Does amp-carousel already support RTL, if so if there a documentation how to implement?
Or is the feature under development?
Thank you in advance :)

Hello, let me ask you about the situation since I also need this feature for my project.
Does amp-carousel already support RTL, if so if there a documentation how to implement?
Or is the feature under development?
Thank you in advance :)

amp-carousel currently has a few issues in RTL mode (see https://github.com/ampproject/amphtml/issues/16605#issuecomment-403974974 above) . We are working on releasing a version 0.2 that will fix those issues.

Confirmed that this works with v0.2 but not 0.1

Check in amp.dev playground by adding dir="rtl" to a carousel

Was this page helpful?
0 / 5 - 0 ratings