firefox-ios icon indicating copy to clipboard operation
firefox-ios copied to clipboard

Buttons not working Games website running Unity WebGL2

Open dittakhan opened this issue 1 year ago • 3 comments

Steps to reproduce

  1. Go to https://www.timestables.co.uk/happy-burger.html?play
  2. Press on Start button

Expected behavior

Button is clickable..... and game starts

Actual behavior

Button is NOT clickable.

Device & build information

  • Device: iPad, iPadOS 17.5
  • Build version: Firefox 133.0 (1)
  • First seen version: Yes

Notes

Attachments:

Simulator Screenshot - iPad Pro 11-inch (M4) - 2024-10-16 at 15 49 59

┆Issue is synchronized with this Jira Task

dittakhan avatar Oct 16 '24 14:10 dittakhan

➤ Norberto Andres Furlan commented:

Adina Petridean can you test this one? Thanks!

data-sync-user avatar Oct 17 '24 19:10 data-sync-user

I have found that you need to set the elementFullscreenEnabled on the WKWebView.

webView.configuration.preferences.elementFullscreenEnabled = YES;

In order to set this, minimum iOS target should to be set to 15.4.

For reference:

  1. https://developer.apple.com/documentation/webkit/wkpreferences/3917769-elementfullscreenenabled
  2. https://developer.apple.com/videos/play/wwdc2022/10049

dittakhan avatar Oct 17 '24 22:10 dittakhan

➤ Adina Petridean commented:

This issue is reproducible on Firefox 132 (46575) and 131.3 (46526) on iPad Air (18). It occurs both in private browsing (PB) and normal browsing (NB) modes.

[^movie.MP4]

data-sync-user avatar Oct 18 '24 13:10 data-sync-user