arcomage / arcomage-hd

Web-based, free and open source, remastered 3D clone of 3DO/NWC's 2000 card game Arcomage. 13 languages. Desktop or mobile Android iOS. Online or offline PWA. Against AI or Multiplayer (w/o server). πŸ§πŸ‘ΎπŸƒ (ts+react+redux+rxjs, CSS-based anim, WebRTC)
https://arcomage.github.io
MIT License
125 stars 28 forks source link

Discarding a card (long press) is not working on iOS #74

Open tammowhs opened 2 years ago

tammowhs commented 2 years ago

I cant discard a card neither on iPhone XR or iPhone SE2. Long Press / Right Click seems not to work. Tested as well with Safari and Chrome in-browser and as installed pwa.

tomchen commented 2 years ago

Thanks for reporting it.

Looks like an iOS 13+ issue https://github.com/facebook/react/issues/17596 https://github.com/Leaflet/Leaflet/issues/6817

Most mobile system treat long press as right click on desktop, but not iOS 13+.

I think I might have tested on older version of iOS which was good back then.

I'll fix this issue.