[Webkit-unassigned] [Bug 148086] New: Cannot change WKWebView scrollView deceleration rate
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Aug 17 13:02:20 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=148086
Bug ID: 148086
Summary: Cannot change WKWebView scrollView deceleration rate
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: iOS
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: wenson_hsieh at apple.com
Currently, developers are not able to change a WKScrollView's decelerationRate by explicitly setting it, e.g. webView.scrollView.decelerationRate = UIScrollViewDecelerationRateNormal; This fixes the deceleration rate to UIScrollViewDecelerationRateFast. This is because _preferredScrollDecelerationFactor in WKScrollView is not updated when [WKScrollView setDecelerationRate] is invoked, so when the snap points code determines whether the decelerationRate should be fast or whatever the preferred value is, the decelerationRate is always set to UIScrollViewDecelerationRateFast.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150817/1adfa202/attachment.html>
More information about the webkit-unassigned
mailing list