You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm setting the initial slide of an amp-carousel using the [slide] attribute as it is described in the examples page. If I use some integer value less then the total number of slides it takes me to the first slide, but when I click on the arrow buttons it starts transitioning slides from the value of the [slide] attribute.
When I use the amp-state and I set a variable there, it also takes me to the first slide and it appears that it doesn't see the value of that variable.
I'm attaching also a sample code so you can reproduce this issue easier.
Hi, @radoslav-boydev amp-bind does not work on the initial load by design. Please follow #12591 for the same feature request regarding setting initial carousel slide.
I'm setting the initial slide of an amp-carousel using the [slide] attribute as it is described in the examples page. If I use some integer value less then the total number of slides it takes me to the first slide, but when I click on the arrow buttons it starts transitioning slides from the value of the [slide] attribute.
When I use the amp-state and I set a variable there, it also takes me to the first slide and it appears that it doesn't see the value of that variable.
I'm attaching also a sample code so you can reproduce this issue easier.
example.zip
The text was updated successfully, but these errors were encountered: