[Webkit-unassigned] [Bug 223744] New: [iOS] Non-native scrolling animations are disabled
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Mar 25 05:21:52 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=223744
Bug ID: 223744
Summary: [iOS] Non-native scrolling animations are disabled
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Scrolling
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mrobinson at webkit.org
CC: simon.fraser at apple.com
"Non-native" scrolling animations are disabled for iOS even when the RenderLayer specifies that the ScrollAnimator should be used. This is currently implemented via an #ifdef [1]
#if ENABLE(SMOOTH_SCROLLING) && !PLATFORM(IOS_FAMILY)
if (m_scrollableArea.scrollAnimatorEnabled() && !behavior.contains(ScrollBehavior::NeverAnimate)) {
m_scrollAnimation->setCurrentPosition(m_currentPosition);
return m_scrollAnimation->scroll(orientation, granularity, step, multiplier);
}
#endif
This bug tracks deciding whether or not it makes sense to remove this exception. An example of when this would come into play would be when a keyboard is plugged into an iOS device and the user scrolls via pageup / pagedown or the arrow keys.
1. https://github.com/WebKit/WebKit/blob/3148d6dc25355456915544ce7e6e070c7ebf213a/Source/WebCore/platform/ScrollAnimator.cpp#L103
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210325/f4314143/attachment-0001.htm>
More information about the webkit-unassigned
mailing list