Skip to content

Help with horizontal scroll for custom toolbar and slideshow layout #162

Answered by igordanchenko
JGK1213 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there!

I'm glad to hear you are enjoying this library so far.

I added a custom toolbar that allows for different categories, the user can click on the category and the carousel will scroll to the specific index. I have that working. The part I can't figure out is how to add a horizontal scroll in the toolbar for mobile view. I tried following this, #146 (comment), but doesn't seem to add back the horizontal scroll when I add this plugins={[({ remove }) => remove("no-scroll")]}.

I'm not sure that discussion is relevant to your case. Let me explain. In the case when your page content is larger than the viewport height, some browsers (e.g. on Windows) display vertical scrollbar. So when…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JGK1213
Comment options

Answer selected by JGK1213
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants