Bug 277666
| Summary: | Inputs with overflowing content cannot be scrolled within an iFrame. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simeon Cheeseman <simeon> |
| Component: | Scrolling | Assignee: | Wenson Hsieh <wenson_hsieh> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | akeerthi, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 16 | ||
| URL: | https://codepen.io/team/tablecheck/pen/LYKLRmj/84e3741f7a8cafa7547bb8b215b76c63 | ||
Simeon Cheeseman
This may be a regression of https://bugs.webkit.org/show_bug.cgi?id=188374 and we've confirmed it occurs in iOS 16 and iOS 17.
To replicate;
1. Open https://codepen.io/team/tablecheck/pen/LYKLRmj/84e3741f7a8cafa7547bb8b215b76c63
2. Inside the iframe, type or copy in "START - test test test test test test test test test - END"
3. Try to scroll the input field back to see the "START" string
Neither long press and drag nor long press the on-screen keyboard and moving the cursor cause the input content to scroll and the "START" cannot be found.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/133320357>
Wenson Hsieh
Pull request: https://github.com/WebKit/WebKit/pull/35658
EWS
Committed 285635@main (aeacdd2cd7d9): <https://commits.webkit.org/285635@main>
Reviewed commits have been landed. Closing PR #35658 and removing active labels.
Wenson Hsieh
(In reply to Simeon Cheeseman from comment #0)
> This may be a regression of https://bugs.webkit.org/show_bug.cgi?id=188374
> and we've confirmed it occurs in iOS 16 and iOS 17.
>
For future reference — this never worked in WebKit2. #188374 is only about handling updates to the selection endpoints during text interactions on iOS, whereas this bug is about autoscrolling.