Bug 249187 - Fix wrong scrolling behavior when a scrollbar is enabled but unscrollable
Summary: Fix wrong scrolling behavior when a scrollbar is enabled but unscrollable
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-12 15:59 PST by Ahmad Saleem
Modified: 2022-12-19 16:00 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>