Streaming live at 10am (PST)

Momentum Scrolling on iOS Overflow Elements


A little tip for you.
As I was designing a typical dashboard app with three main columns with different height due to content. The columns was set with overflow scroll but on iOS the scroll was not acting as your used to on safari and iOS.
I found this article over at CSS-tricks
Momentum Scrolling on iOS Overflow Elements
I added the css to the elements and voilá the scroll acting as you would expect.

Need to hire a real code fixer ASAP

I was wondering why it didn't work as expected. since I'm using webflow because I'm a non coder (as they seem to think their tool is built for), how would I add this behavior easily to a webflow site? is there a simple way to blanket apply it to the entire site, so every overflow element behaves this way in iOS?


okay, I think i figured out how to add the code for the whole page. I put this in the head custom code area for the page:

<style media="screen" type="text/css">
html {
    -webkit-overflow-scrolling: touch;

but, somehow that totally messes up the index for elements that need the scroll, and only on iOS devices. there's a modal view on my page, and now the modal appears behind other elements, not on top of everything anymore. the only difference is adding that line of code. still positions fine on desktop. is there a fix for this? totally mind boggling. - click the "?" circles, when viewing on iOS device - go to "My Page"