Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [amp-base-carousel 0.1] Mixed length carousel disabled arrow calculations #32207

Merged
merged 1 commit into from
Jan 26, 2021

Conversation

micajuine-ho
Copy link
Contributor

Closes #32120

For mixed length carousels, we ignore visible count: https://amp.dev/documentation/components/amp-base-carousel/?format=websites#mixed-length

Therefore, we should not only use visibleCount in our arrow disabled calculations. We could eliminate visibleCount from our disabled calculations completely, but I think it's safer to keep in, seeing as it's a trivial calculation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[amp-base-carousel] next button is visible even if all items are in the viewport
3 participants