open-duelyst/duelyst

[P0] Viewport / screen rotation should be disabled on Mobile

开放

#221 创建于 2022年10月29日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (526 个派生)batch import
bugfrontendhelp wanted

仓库指标

星标
 (3,443 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Summary

The game should always operate in landscape mode. However, mobile browsers support screen rotation. Since this results in a viewport changed (and a forced app reload), let's disable screen rotation.

Impacted services

  • The frontend app
  • The game servers
  • Game builds or automation scripts
  • Tests or Github Actions
  • Infrastructure (Terraform)

Steps to reproduce

  1. Open https://staging.duelyst.org in a mobile browser
  2. Rotate the device

Environment information

  • Operating system: Android
  • Browser: Chrome
  • Browser version: Latest

贡献者指南