[WebView] Make scrolling <div>s marked as `-webkit-overflow-scrolling: touch` bounce

Originator:radexpl
Number:rdar://27821755 Date Originated:12-Aug-2016 01:05 PM
Status:Open Resolved:
Product:OS X SDK Product Version:10.11
Classification:UI/Usability Reproducible:Always
 
Summary:

Mac WebViews containing scroll views (i.e. <div>s with a `-webkit-overflow-scrolling: touch` rule) don’t bounce (“overscroll”) after reaching the end of scroll (when swiping on a trackpad/Magic Mouse).

WKWebViews have this feature, but WKWebView’s limitations make it inappropriate for some uses

Steps to Reproduce:
1. Have a page with <div>s with a `-webkit-overflow-scrolling: touch` rule
2. Open in a WebView

Expected Results:
1. When scrolling on an Apple trackpad, the scroll view bounces after reaching the end

Actual Results:
1. It doesn’t.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!