[Bug]: iOS margins broken after iframe goes fullscreen
Los mantenedores suelen responder en 1 día
@theproducer ya está trabajando en esto.
Desde el 28/1/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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
- Lenguaje dominante
- TypeScript
- Estrellas
- 17.1k
- Forks
- 1.3k
- Merge medio
- 1 d 22 h
- PR fusionados (30 d)
- 26
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ionic-team/capacitor
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ionic-team/capacitor#8759 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: Plugin call after navigation can be answered before reply proxy is updatedPosiblemente ocupada @MateStrysewske la tomó hace 71 días. Abiertotriage
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
ionic-team/capacitor#8616 ·
Los mantenedores suelen responder en 1 día
-
help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ionic-team/capacitor#8574 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
SystemBars: safe area CSS injection throws "Cannot read properties of null" on startup (Android 16)Posiblemente ocupada @kttalley la tomó hace 62 días. Abiertotriage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ionic-team/capacitor#8530 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
fix(android): remove unchecked Java compilation warningsPosiblemente ocupada @Ajamuar la tomó hace 15 días. Abiertotriage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ionic-team/capacitor#8529 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de ionic-team/capacitor
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
prio:low scope:world
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
OliverRomhagen/vrigstad-joyride#849 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
genfeedai/genfeed.ai#11916 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
erkamyaman/rust-anything#1153 ·
Los mantenedores suelen responder en 1 día
-
The Phase 5 report says 0.3.0 waits for the live checkPosiblemente ocupada @fzn0x la tomó hoy. Abiertodocumentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día