Missing arrows for AMP Carousel on iOS
When scrolling up and down the arrows for the image carousel only flash, but they do not remain displayed on the screen. Also when interacting with the carousel (swiping) the arrows are not displayed.
URL used: cdn.ampproject.org/c/s/9to5mac.com/2016/09/14/ios-10-how-to-hate-pressing-the-home-button-to-unlock-change-is-setting-on-touch-id-iphones-ipads/amp/
1.Enable "amp-slidescroll" and "amp-scrollable-carousel" experiments at https://cdn.ampproject.org/experiments.html 2.Go to cdn.ampproject.org/c/s/9to5mac.com/2016/09/14/ios-10-how-to-hate-pressing-the-home-button-to-unlock-change-is-setting-on-touch-id-iphones-ipads/amp/ 3.Scroll down to find the carousel 4. On the carousel, scroll between images.
Expected: The arrows should appear to hint the user that it is a carousel.
Iphone 6s iOS9 Safari 9
Same issue found on Iphone 6s iOS9 Chrome 52.0.27
Working as intended.
is it a bug, or can we make the arrows to be displayed? Is not just a bug in iphone, it happens in android too.
what do you mean that works as intended @sriramkrish85
Thanks.
You can use the controls attribute to make the arrows permanent . Else they will flash and disappear as a cue to indicate that this is a carousel
Is there any specific attribute on those controls that I have to use? I couldn't find that in the docs.
Thanks a lot
On Tue, 4 Oct 2016, 13:12 Sriram Krishnan, [email protected] wrote:
You can use the controls attribute to make the arrows permanent . Else they will flash and disappear as a cue to indicate that this is a carousel
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ampproject/amphtml/issues/5107#issuecomment-251370655, or mute the thread https://github.com/notifications/unsubscribe-auth/AB-5zgBl_2KrzRXN4zF-fDFQ0-nTCoUiks5qwkKygaJpZM4KBHAj .
The name of the attribute is 'controls' it is documented as the first thing under 'attributes' here https://github.com/ampproject/amphtml/blob/master/extensions/amp-carousel/amp-carousel.md
right, sorry, I am an id_&_*, I saw that page, but I couldn't understand exactly how the attribute works. I'll open a PR with and example around that update that in case
just in case someone else reads this, it is as simple as:
Simply controls being there should make that work.
On Tue, 4 Oct 2016 at 13:26 Sriram Krishnan [email protected] wrote:
The name of the attribute is 'controls' it is documented as the first thing under 'attributes' here https://github.com/ampproject/amphtml/blob/master/extensions/amp-carousel/amp-carousel.md
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ampproject/amphtml/issues/5107#issuecomment-251373351, or mute the thread https://github.com/notifications/unsubscribe-auth/AB-5ztDcXMjiOeirdfELI8tz7U8gHtrGks5qwkXZgaJpZM4KBHAj .
The amp-carousel navigation arrows are not visible all the time in mobile but on the desktop, arrows are always displayed unless only a single child is present (according to the official docs) https://www.ampproject.org/docs/reference/components/amp-carousel#controls-(optional). This is a bug which needs to be fixed.