Bug 272851

Summary: bankdhofar.com: User can erroneously scroll horizontally on iPad and macOS and get stuck
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bfulgham, karlcow, rniwa, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Broken Homepage (horizontal space)
none
reducing the layout
none
screen recording of the issue
none
Test reduction none

Ahmad Saleem
Reported 2024-04-17 14:10:55 PDT
Created attachment 470969 [details] Broken Homepage (horizontal space) Hi Team, Steps to reproduce: 1) Visit: https://bankdhofar.com 2) Scroll horizontally - it shows 'grey' area 3) On iPad - it shoes horizontal space Expected Result: Chrome Canary 125 and Firefox Nightly 127 don't show this, so match them. Actual Result: See reference picture. ____ Thanks!
Attachments
Broken Homepage (horizontal space) (1.28 MB, image/png)
2024-04-17 14:10 PDT, Ahmad Saleem
no flags
reducing the layout (458.05 KB, image/png)
2024-04-17 20:20 PDT, Karl Dubost
no flags
screen recording of the issue (25.93 MB, video/quicktime)
2024-04-17 20:33 PDT, Karl Dubost
no flags
Test reduction (211 bytes, text/html)
2024-04-23 10:34 PDT, zalan
no flags
Karl Dubost
Comment 1 2024-04-17 20:20:28 PDT
Created attachment 470979 [details] reducing the layout
Karl Dubost
Comment 2 2024-04-17 20:33:36 PDT
Created attachment 470980 [details] screen recording of the issue Currently there is this code: @media screen { .loan-modal { position: absolute; top: -12px; right: -12px; width: 1px; height: 1px; background: #fff; border-radius: 16px; transition: all 0.7s ease; z-index: 999; border: solid 1px transparent; } } which is supposed to put out of view the loan modal but create a scrollable context. If we apply display: none on this, the site displays correctly.
Karl Dubost
Comment 3 2024-04-17 20:34:37 PDT
On Firefox it doesn't create the scrollable context.
Radar WebKit Bug Importer
Comment 4 2024-04-17 20:35:11 PDT
zalan
Comment 5 2024-04-23 10:34:20 PDT
Created attachment 471073 [details] Test reduction
zalan
Comment 6 2024-04-23 12:13:04 PDT
The combination of allowing rubber-banding and "overflow: hidden auto" causes this bug.
Note You need to log in before you can comment on or make changes to this bug.