Scrolling not working in the mobile version
I'm working on a Javascript project. I created a div with an overflow and I would scroll that div using the mouse only (without the bar). I followed this working example both on the browser and both on the mobile versions. Here is my HTML code: <div id="wrapper"> <div id="scroller"> ... divs, boxes generated by jQuery ... </div> </div> And here's the CSS: #wrapper { margin-left: 45px; position: absolute; width: 900px; overflow: hidden; } #scroller { width: 100%; height: 100px; margin: 0px auto; overflow: auto; } Now the problem is that this works on the browser but does not in the mobile (no s
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.