You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Godot version:
3.1.1 OS/device including version:
Android 9 on Xiaomi Redmi Note 6 (any browser), Ubuntu Linux 18.04, Window 10 (Yandex Browser in mobile debug mode) Issue description:
When any html elements (e.g. ads popup) displays over GodotCanvas by call JavaScript.eval(), no touchend JS event passed to that elements. This behaviour blocks onclick JS events and the user can't click on html elements. Removing touchend handler by Chromium DevTools (handler assigned to game's js file) allows to click the element.
On desktop (mouse events) all works correctly. On mobile browser in desktop mode is the same bug. Steps to reproduce:
Create any Godot app (even empty screen). Add JavaScript snippet that dinamically displays, e.g. button, alerting on click (no difference, either snippet added in HTML shell or hardcoded to GDScript or else). Call this snippet with JavaScript.eval() from GDScript.
Export app to HTML5, open on web-server and try to click button. Minimal reproduction project:
This app creates empty scene with timer and after 3 seconds from start displays button. YaDummy.zip
The text was updated successfully, but these errors were encountered:
Godot version:
3.1.1
OS/device including version:
Android 9 on Xiaomi Redmi Note 6 (any browser), Ubuntu Linux 18.04, Window 10 (Yandex Browser in mobile debug mode)
Issue description:
When any html elements (e.g. ads popup) displays over GodotCanvas by call JavaScript.eval(), no touchend JS event passed to that elements. This behaviour blocks onclick JS events and the user can't click on html elements. Removing touchend handler by Chromium DevTools (handler assigned to game's js file) allows to click the element.
On desktop (mouse events) all works correctly. On mobile browser in desktop mode is the same bug.
Steps to reproduce:
Create any Godot app (even empty screen). Add JavaScript snippet that dinamically displays, e.g. button, alerting on click (no difference, either snippet added in HTML shell or hardcoded to GDScript or else). Call this snippet with JavaScript.eval() from GDScript.
Export app to HTML5, open on web-server and try to click button.
Minimal reproduction project:
This app creates empty scene with timer and after 3 seconds from start displays button.
YaDummy.zip
The text was updated successfully, but these errors were encountered: