Bug 253080 - Instant scroll to edge occurs when scrolling during overscroll in a scroll-snap container
Summary: Instant scroll to edge occurs when scrolling during overscroll in a scroll-sn...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari Technology Preview
Hardware: Mac (Intel) macOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-02-28 07:58 PST by Bruno Stasse
Modified: 2023-02-28 14:24 PST (History)
3 users (show)

See Also:


Attachments
testcase (1.17 KB, text/html)
2023-02-28 07:58 PST, Bruno Stasse
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Stasse 2023-02-28 07:58:55 PST
Created attachment 465220 [details]
testcase

In a scroll container with scroll-snap-type set to mandatory or proximity, when initiating a scroll gesture during overscroll, the scroll container scrolls instantly to the edge, ending the overscroll animation right away.

The expectation would be that no instant scrolling occurs, the content should move from its current overscrolling position without jump.

Steps to reproduce:
- open the test case on macOS
- scroll down and then up to cause overscroll
- scroll up or down (with or without lifting the fingers) before the end of overscroll
- observe that the content gets scrolled instantly to the edge instead of moving naturally from its current position

This occurs in STP 164, but might have been introduced before.
Comment 1 Radar WebKit Bug Importer 2023-02-28 14:24:25 PST
<rdar://problem/106051647>