

Apple has a description in the Safari CSS Reference. I would like a pure CSS solution if possible, but I can do JavaScript or JQuery if that is the only option. which takes away the Safari-like acceleration scrolling. webkit-overflow-scrolling: auto /* Stops scrolling immediately */ Because it doesn't change the color unless I set the webkit scrolling setting to scroll:-webkit-overflow-scrolling: scroll. Stack Overflow is leveraging AI to summarize the most relevant questions and answers from the community. Value not found in DB Values auto Use 'regular' scrolling, where the content immediately ceases to scroll when you remove your finger from the touchscreen. Is there a fix for it or another property tha. The -webkit-overflow-scrolling CSS property controls whether or not touch devices use momentum-based scrolling for the given element. Unfortunately, now the content bounces when I pull down the view. webkit-overflow-scrolling: touch /* Lets it scroll lazy */ I need a smooth scrolling for my app, so I added webkit-overflow-scrolling: touch. The solution is either removing all the occurrences of -webkit-overflow-scrolling: touch or putting -webkit-overflow-scrolling: auto with NoviceCodings solution. Formal definition Initial valueįormal syntax auto | touch Examples HTML The -webkit-overflow-scrolling CSS property controls whether or not touch devices use momentum-based scrolling for the given element. Please note on iPad Safari, NoviceCodings solution wont work if you have -webkit-overflow-scrolling: touch somewhere in your CSS. The speed and duration of the continued scrolling is proportional to how vigorous the scroll gesture was. touch Use momentum-based scrolling, where the content continues to scroll for a while after finishing the scroll gesture and removing your finger from the touchscreen. Syntax Values auto Use "regular" scrolling, where the content immediately ceases to scroll when you remove your finger from the touchscreen.

The -webkit-overflow-scrolling CSS property controls whether or not touch devices use momentum-based scrolling for a given element. There may also be large incompatibilities between implementations and the behavior may change in the future. The -webkit-overflow-scrolling CSS property controls whether or not touch devices use momentum-based scrolling for the given element. Without this code, it will scroll all of the way through the page, but with no momentum and with a lot of jerky motion. So -webkit-overflow-scrolling: touch does work for a 'part' of the body. Do not use it on production sites facing the Web: it will not work for every user. In iOS, my page will scroll with momentum about a fourth of the way down in the page, but then stop. When I add the CSS property and set it to touch, it scrolls horizontally as expected. It only scrolls horizontally, not vertically, as I want. This works fine without -webkit-overflow-scrolling, but I don’t get the native bouncing on the iPhone. This feature is non-standard and is not on a standards track. I have a div that needs to scroll horizontally.
