Bug 249187

Summary: Fix wrong scrolling behavior when a scrollbar is enabled but unscrollable
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: ScrollingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Description Ahmad Saleem 2022-12-12 15:59:13 PST
Hi Team,

This might be not direct bug but Webkit / Safari 16.1 behave differently compared to Chrome Canary 110 and Firefox Nightly 109 and does have overhang like scroll but it was regression in Chrome but I think fixing it to match with other browsers would be more ideal.

Blink Commit - https://src.chromium.org/viewvc/blink?revision=197615&view=revision

JSFiddle (show difference in Safari while trying to scroll) - https://jsfiddle.net/08hes9xv/show

Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/dd82be82d070b9ec480db4497b44aad8c363df7d/Source/WebCore/platform/ScrollbarThemeComposite.cpp#L223 & https://github.com/WebKit/WebKit/blob/dd82be82d070b9ec480db4497b44aad8c363df7d/Source/WebCore/platform/Scrollbar.cpp#LL270

Just wanted to raise this bug so this can be confirmed or good to be fix, so I can do this merge.

Thanks!
Comment 1 Radar WebKit Bug Importer 2022-12-19 16:00:17 PST
<rdar://problem/103534822>