Bug 230091 - REGRESSION (iOS 15): Binding to a gesture event makes rendering go wrong on iOS 15
Summary: REGRESSION (iOS 15): Binding to a gesture event makes rendering go wrong on i...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari Technology Preview
Hardware: iPhone / iPad Other
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-09 04:27 PDT by Wart Claes
Modified: 2022-02-12 22:18 PST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wart Claes 2021-09-09 04:27:16 PDT
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
Comment 1 Radar WebKit Bug Importer 2021-09-16 04:28:15 PDT
<rdar://problem/83192041>
Comment 2 Smoley 2021-09-30 15:36:25 PDT
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.
Comment 3 Brent Fulgham 2022-02-12 22:18:17 PST
QA is unable to reproduce this on iOS 15.3. or newer.