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

disable glide when number of slides = perView only on desktop? #699

Open
vaishnavi-s2901 opened this issue Oct 12, 2024 · 0 comments
Open

Comments

@vaishnavi-s2901
Copy link

i am using type carousel here.. i want to keep it this way that glide disables only on desktop when number of slides are less than the perView set in the settings for that breakpoint. right now if i set perView as 3 and if i only have 2 slides, I see 1st slide's clone, which i want to avoid..
i can totally disable the glide by checking how much slides and what perView i have but then it also disables mobile and tablet which have different perView set..
can anything be done here?

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

No branches or pull requests

1 participant