Bug 235684 - iOS: Touch events shifted after device rotation if position:fixed is specified.
Summary: iOS: Touch events shifted after device rotation if position:fixed is specified.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 15
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-26 19:45 PST by Takao Baba
Modified: 2022-02-02 19:46 PST (History)
6 users (show)

See Also:


Attachments
testcase and screenshot (276.22 KB, application/x-zip-compressed)
2022-01-26 19:45 PST, Takao Baba
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Takao Baba 2022-01-26 19:45:33 PST
Created attachment 450095 [details]
testcase and screenshot

# Steps to reproduce

1. Open attached index.html on iPhone Safari in portrait orientation.
2. Rotate the device to landscape.
3. An extra margin exists at the bottom of the screen. (I'm not sure this is a correct behavior, but looks weird.) 
4. Tap the top of the screen, then the URL bar appears and the contents shifts down.

# Expected behavior

Touch events should work properly.

# Actual behavior

Touch events respond as if the contents was not shifted down. See step4.png.

# Note

I've tested on iPhone iOS 15.3

Looks related to https://bugs.webkit.org/show_bug.cgi?id=235171
Comment 1 Radar WebKit Bug Importer 2022-02-02 19:46:24 PST
<rdar://problem/88414755>