Lock Android portrait via fullscreen then orientation.lock.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -5,6 +5,17 @@
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-27 — 安卓竖屏:全屏后系统锁定
|
||||
|
||||
### 变更
|
||||
|
||||
1. 说明:安卓 **Chrome 普通标签页** 不允许网页直接锁方向,必须先全屏再 `orientation.lock`(你以前能锁的,多半是 App/WebView/已装桌面,或点过全屏)。
|
||||
2. 安卓首次点击 / 「点击锁定竖屏」:进入全屏并系统锁竖屏。
|
||||
3. 已「添加到主屏幕」的应用走 manifest `orientation: portrait`,一般无需全屏。
|
||||
4. 补充 X5/UC 竖屏 meta;锁失败时仍强制竖屏布局。
|
||||
|
||||
---
|
||||
|
||||
## 2026-07-27 — 手机端真·竖屏(禁横屏布局)
|
||||
|
||||
### 变更
|
||||
|
||||
Reference in New Issue
Block a user