Bug 230091
| Summary: | REGRESSION (iOS 15): Binding to a gesture event makes rendering go wrong on iOS 15 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Wart Claes <wart.claes> |
| Component: | UI Events | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | bfulgham, cdumez, graouts, hi, thorton, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | iPhone / iPad | ||
| OS: | Other | ||
Wart Claes
We encountered some issues with the "gesturestart" and "gesturechange" events on iOS 15.
When tapping fast through the items on the page it happens that the box doesn't change color on the actual tap.
That color change will happen when you tap anywhere else on the screen.
It seems like the page doesn't re-render it correctly and by tapping again it triggers a paint to correct it.
If we remove the (empty) listeners of "gesturestart" and "gesturechange" the issue is resolved.
(removing one of them keeps the issue so I guess it's also possible that it happens on "gestureend")
Code example
------------
https://stackblitz.com/edit/js-g3qxtk
Test page
---------
https://js-g3qxtk.stackblitz.io
Steps to reproduce
------------------
1. Click in quick succession on Item 1 and then on Item 2
2. Item 1 will be green, Item 2 will still be red.
3. Click anywhere else and Item 2 will turn green.
This only happens on iOS 15 (beta 8 at the moment) and it did not occur on iOS 14.7.1
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/83192041>
Smoley
Thanks for filing, I can confirm this isn't reproducing for me on iOS 14.7.1 and I do see the issue on the latest iOS 15 beta. Ccing relevant folks here.
Brent Fulgham
QA is unable to reproduce this on iOS 15.3. or newer.