Scroll question

Hello guys, could you please help me. I have a long single page app (Next.js). And some components a horizontal scrollable, i really wanna do a thing when vertical scroll for a page blocks and you can scroll only horizontally in those components. I tried to make overflow : hidden, but you can scroll some space down before scroll disappears.
1 Reply
serg
serg12mo ago
hi
<div className="flex overflow-x-scroll w-full scrollbar">
some content here
</div>
<div className="flex overflow-x-scroll w-full scrollbar">
some content here
</div>
this is a parent div elm and you can have for example some cards inside that you can scroll left and right, but give overflow-hidden for the cards inside the parent div
Want results from more Discord servers?
Add your server