Jump to content


Horizontal Scroll - Vertical Scroll within a section

Recommended Posts

I've got horizontal scrolling working with snap. However some of my sections have a modal and a div within that modal will need to scroll vertically. However This is not working. I looked at the demos and couldn't find anything related to this. Also searched the forums


All help greatly appreciated.



See the Pen ZEXmqPp by createsean (@createsean) on CodePen

Link to comment
Share on other sites

I think first you need to fix it so that the text area actually scrolls. Right now it's just overflowing.




And modals are usually appended right before the closing <body> tag so that they don't interfere with the normal content scrolling. And sometimes you will need to prevent scrolling on the body when a modal is open.


  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.