WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
223744
[iOS] Non-native scrolling animations are disabled
https://bugs.webkit.org/show_bug.cgi?id=223744
Summary
[iOS] Non-native scrolling animations are disabled
Martin Robinson
Reported
2021-03-25 05:21:52 PDT
"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
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-04-01 05:22:14 PDT
<
rdar://problem/76099562
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug