Flutter Web > No response to touch events on Safari

303 views
Skip to first unread message

C Maxetom

unread,
Jun 9, 2020, 3:45:27 PM6/9/20
to Flutter Development (flutter-dev)
Hi,

I developed a game with Flutter that I embedded with an iframe on a webpage. Events associated with flat buttons (onPressed), InkWell widgets (onTap), or Draggable widgets work on all browsers with either touch or mouse, but on Safari.

On Safari, events respond only to a mouse click, not to finger touch nor pencil.

Here is the game:

I found that this issue was filed on gitHub: [Web] broken gestures for mobile Safari #54269  https://github.com/flutter/flutter/issues/54269

It looks like it's very similar to the issue I encountered but I'm not able to understand the answer given in Github. I see that the issue is closed. Does it mean that the issue is fixed?

Is there a special version of Flutter I should use so this works?

Here is the Flutter doctor for my project:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel beta, 1.18.0-11.1.pre, on Microsoft Windows [version 10.0.18363.836], locale fr-FR)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 4.0)
[√] VS Code (version 1.45.1)
[√] Connected device (2 available)

• No issues found!

Any help is welcome!

Thank you!
Cecile



Kwaku

unread,
Jun 9, 2020, 3:53:26 PM6/9/20
to Flutter Development (flutter-dev)
It looks like there was a commit issue causing that bug. Try and change the flutter channel you are using to see if there will be any change.

C Maxetom

unread,
Jun 9, 2020, 3:57:35 PM6/9/20
to Flutter Development (flutter-dev)
Thank you Kwaku for your quick reply. 

Wich channel should I use? dev?

C Maxetom

unread,
Jun 9, 2020, 4:23:11 PM6/9/20
to Flutter Development (flutter-dev)
Ok. I tried with dev channel. But it's still not working!

Here is the new Flutter doctor:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel dev, 1.19.0-4.0.pre, on Microsoft Windows [version 10.0.18363.836], locale fr-FR)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[√] Chrome - develop for the web
[√] Android Studio (version 4.0)
[√] VS Code (version 1.45.1)
[√] Connected device (2 available)

• No issues found!
Reply all
Reply to author
Forward
0 new messages