[Bug]: iOS margins broken after iframe goes fullscreen
メンテナーはふだん 1 日以内に返信
@theproducer がすでに取り組んでいます。
2026年1月28日 から。
評価
この issue はまだ評価されていません。
説明
Capacitor Version
gildas_gh@Mac capacitor-fullscreen-rotate % npx cap doctor
💊 Capacitor Doctor 💊
Latest Dependencies:
@capacitor/cli: 7.4.1
@capacitor/core: 7.4.1
@capacitor/android: 7.4.1
@capacitor/ios: 7.4.1
Installed Dependencies:
@capacitor/cli: 7.4.1
@capacitor/core: 7.4.1
@capacitor/ios: 7.4.1
@capacitor/android: 7.4.1
[success] iOS looking great! 👌
[success] Android looking great! 👌
Other API Details
Compiled using XCode 16.4 (16F6)
Demo on iPhone 12, running iOS 18.5
Platforms Affected
- iOS
- Android
- Web
Current Behavior
I am embedding an external video player with an iframe (in my example "Momindum" but it happens with Vimeo too)
I also have a header using safe-area-inset-top as top padding. This padding works when opening the app.
When you switch the embedded video to full screen, then rotate the screen, and finally exit full screen, the app margins are breaking.
It seems that after leaving full screen and rotating again the screen, safe-area-inset-top is now on the right side of the screen and it's doubled in size : one part is "inside" the web page (I mean can be controlled with HTML) and another is "outside" it (adding a red background to html and body don't cover it)
This bug happens when not rotating the screen too (part 2 of the video) : a white padding is added on top and bottom of the screen, outside <html> (html has a burlywood background in the demo)
https://github.com/user-attachments/assets/886e4bce-749e-458b-bc49-f790e5df3c46
Expected Behavior
When you leave full screen and turn the screen, the margins should return to the way they were before: the application should take up the full size of the screen, and the safe-area-inset-top should return to the top (vertical).
Project Reproduction
https://github.com/Gildas-GH/capacitor-fullscreen-rotate
Additional Information
No response
- 主要言語
- TypeScript
- スター
- 17.1k
- フォーク
- 1.3k
- 平均マージ
- 1日 22時間
- マージ済み PR(30日)
- 26
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ionic-team/capacitor のほかの issue
-
triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
ionic-team/capacitor#8759 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: Plugin call after navigation can be answered before reply proxy is updated対応中かも @MateStrysewske が 71 日前に担当しました。 オープンtriage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
ionic-team/capacitor#8616 ·
メンテナーはふだん 1 日以内に返信
-
help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ionic-team/capacitor#8574 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
SystemBars: safe area CSS injection throws "Cannot read properties of null" on startup (Android 16)対応中かも @kttalley が 62 日前に担当しました。 オープンtriage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ionic-team/capacitor#8530 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
fix(android): remove unchecked Java compilation warnings対応中かも @Ajamuar が 15 日前に担当しました。 オープンtriage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ionic-team/capacitor#8529 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
ionic-team/capacitor の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
prio:low scope:world
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
OliverRomhagen/vrigstad-joyride#849 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
genfeedai/genfeed.ai#11916 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
erkamyaman/rust-anything#1153 ·
メンテナーはふだん 1 日以内に返信
-
The Phase 5 report says 0.3.0 waits for the live check対応中かも @fzn0x が今日担当しました。 オープンdocumentation
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信