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

Scrolling does not work with a small screen #851

Open
igor3310 opened this issue Jan 2, 2021 · 1 comment
Open

Scrolling does not work with a small screen #851

igor3310 opened this issue Jan 2, 2021 · 1 comment

Comments

@igor3310
Copy link

igor3310 commented Jan 2, 2021

Scrolling does not work with a small screen - for example, with a max-width 550px and below work on small screen
the code https://github.com/igor3310/jcarousel2

@ivydeveloper
Copy link

I found that on screens narrower than around 525px, the scrolling/navigation was not working. The problem was that "jCarousel tries to auto-detect the orientation by simply checking if the list elements’s height is greater than the list element’s width." On small screens, it wanted to move horizontally, not vertically. When I added the option vertical: false, as mentioned on https://sorgalla.com/jcarousel/docs/reference/usage.html, it began to work on small sizes too.

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

2 participants