openfrontio / openfrontio/OpenFrontIO
Double Click causes Webpage zoom-in (iOS)
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 1.4k
- Avg merge
- 17h 43m
- Merged PRs (30d)
- 310
Description
**Describe the bug**
When double clicking in Brave (and most likely all other WebKit browsers) the browser performs a page zoom in, this is different from the normal openfront native zoom, since this one is not revertable by simply zooming (because this triggers openfront too zoom out, not the webpage).
**To Reproduce**
Steps to reproduce the behavior:
1. Use Brave (probably any WebKit Browser)
2. Start a Game
3. Double tap on the map
4. After some taps the whole webpage may be zoomed in causing the HUD to be inaccessible (not exactly sure when the gesture is triggered)
**Expected behavior**
The webpage zoom should be prevented (if possble).
**Screenshots**
Couldn't reproduce the bug for this, once it happens to me again I will attach a screenshot.
**Smartphone (please complete the following information):**
- Device: IPad
- OS: iOS18.7
- Browser: Brave
- Version: latest
**Additional context**
Sometimes can be fixed by opening the information tab (via the ℹ️-button) and then double tapping in the opened dialog! (again not very consistent).
Maybe this can be fixed by intercepting the doubleclick/touch gesture in js?
**Assignment**
- [ ] I'd like to be assigned to this issue and work on it myself
Contributor guide
Assessment
This issue has not been assessed yet.