GoogleChromeLabs / proxx

A game of proximity
https://proxx.app
Apache License 2.0
1.31k stars 124 forks source link

Hit targets don’t match tile locations in iOS app webviews #443

Closed amclin closed 5 years ago

amclin commented 5 years ago

Debug info Version: 1.0.2 Motion: true Supports WebGL: true Feature Phone: no Standalone Mode: no Screen Width: 375px Screen Height: 641px DPR: 2 Device Memory: Concurrency: UA: Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Mobile/15E148 Safari/604.1

Describe the bug When using from inside an iOS app’s web views, the hit targets are an entire tile down from where the tile is shown on screen.

![Uploading C078FA41-AF4D-4FDE-8A90-7EFAD3D65A14.png…]()

To Reproduce Steps to reproduce the behavior:

  1. Open twitter app on iOS and find a tweet with a link to prod.app https://twitter.com/dassurma/status/1127080695627517953?s=21
  2. Open the proxx.app in the web view without leaving the twitter app
  3. Start a game
  4. Tap on tiles
  5. scroll horizontally and vertically
  6. Tap on tiles
  7. Observe the tap registers now registers on the tile 1 row above where you tapped

Expected behavior Hit targets match screen display

kosamari commented 5 years ago

Hi @amclin thanks for the report! I'm looking at mine on iPhone webview and it seem to work on version 1.0.3, can you test if this problem still exist for you?

amclin commented 5 years ago

@kosamari it appears to be working correctly now :)