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

fix(Gallery): navigation doesn't work when align="center" and slides overflow just a little #7862

Commits on Oct 28, 2024

  1. Fix Gallery navigation when align="center"

    When slides are center aligned and
    they overflow container just a little we disable arrows and
    drag navigation.
    
    Because we doesn't count for slide offset from left side of
    container.
    
    Here we calculate the width of slides layer together with
    offset if align="center"
    andrey-medvedev-vk committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    8fe4f76 View commit details
    Browse the repository at this point in the history