-
Notifications
You must be signed in to change notification settings - Fork 6k
Added workaround for ios safari iframe issue #32415
Conversation
mdebbar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seem to be some build errors:
error - test/canvaskit/semantics_test.dart:28:12 - Undefined name 'isIosSafari'. Try correcting the name to one that is defined, or defining the name. - undefined_identifier
error - test/engine/semantics/semantics_test.dart:18:8 - Target of URI doesn't exist: '../../common.dart'. Try creating the file referenced by the URI, or Try using a URI for a file that does exist. - uri_does_not_exist
|
Gold has detected about 8 new digest(s) on patchset 15. |
|
It looks like the cleanup didn't fix the failure. I spent some time this morning debugging the test failure and found the problem. The cleanup that you did is necessary, but it's not working because the listeners are stored as static members: engine/lib/web_ui/lib/src/engine/pointer_binding.dart Lines 161 to 165 in 1d0c2ae
That means all PointerBinding/Adapter instances are sharing the same map of listeners. If you remove |
mdebbar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Created a workaround for ios Safari by adding a dummy event listener.
Fixes: flutter/flutter#70858
Fixes: flutter/flutter#101251
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.