[fix] correct mobile viewport safe areas and zoom reset

This commit is contained in:
dijunkun
2026-11-02 03:17:17 +08:00
parent d051dbb278
commit bfa743fd1b
4 changed files with 29 additions and 9 deletions
@@ -140,8 +140,11 @@ struct RemoteSessionView: View {
}
.frame(width: proxy.size.width, height: proxy.size.height)
.clipped()
}
.ignoresSafeArea()
// Fit video and input to the same unobscured area. Only the black
// background extends beneath the home indicator and display cutout.
.ignoresSafeArea(.keyboard)
.transaction { transaction in
transaction.animation = nil
transaction.disablesAnimations = true