[Bug]: iOS margins broken after iframe goes fullscreen
Maintainer thường phản hồi trong vòng 1 ngày
@theproducer đang làm issue này rồi.
Từ ngày 28/1/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 17.1k
- Fork
- 1.3k
- Merge trung bình
- 1 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 26
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ionic-team/capacitor
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ionic-team/capacitor#8759 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Plugin call after navigation can be answered before reply proxy is updatedCó thể đã có người làm @MateStrysewske đã nhận 71 ngày trước. Đang mởtriage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
ionic-team/capacitor#8616 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ionic-team/capacitor#8574 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SystemBars: safe area CSS injection throws "Cannot read properties of null" on startup (Android 16)Có thể đã có người làm @kttalley đã nhận 62 ngày trước. Đang mởtriage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ionic-team/capacitor#8530 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(android): remove unchecked Java compilation warningsCó thể đã có người làm @Ajamuar đã nhận 15 ngày trước. Đang mởtriage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ionic-team/capacitor#8529 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ionic-team/capacitor
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
prio:low scope:world
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
OliverRomhagen/vrigstad-joyride#849 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
genfeedai/genfeed.ai#11916 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
erkamyaman/rust-anything#1153 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The Phase 5 report says 0.3.0 waits for the live checkCó thể đã có người làm @fzn0x đã nhận hôm nay. Đang mởdocumentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày