Skip to content

fix(SystemBars): Skipping margin manipulation when on a fixed WebView#8309

Merged
theproducer merged 9 commits intomainfrom
fix/RMET-4940
Jan 22, 2026
Merged

fix(SystemBars): Skipping margin manipulation when on a fixed WebView#8309
theproducer merged 9 commits intomainfrom
fix/RMET-4940

Conversation

@theproducer
Copy link
Copy Markdown
Contributor

fixes: #8289
fixes: #8214

@theproducer theproducer changed the title fix(SystemBars): Pass through insets if window not focused fix(SystemBars): Skipping margin manipulation when on a fixed WebView Jan 20, 2026
@theproducer theproducer marked this pull request as ready for review January 20, 2026 18:08
@theproducer theproducer requested a review from a team January 20, 2026 18:09
@praffn
Copy link
Copy Markdown

praffn commented Jan 21, 2026

We've experienced the same issues as described in #8289, and this PR solves the problem

@jurienhamaker
Copy link
Copy Markdown

This PR also seems to solve our issue, tested on a pixel pro 10 & a nothing phone 2, both on android 16.

@OS-pedrogustavobilro OS-pedrogustavobilro requested a review from a team January 21, 2026 16:05
Copy link
Copy Markdown
Member

@markemer markemer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gave it a quick smoke test, looks good.

@theproducer theproducer merged commit 53c33b6 into main Jan 22, 2026
6 checks passed
@theproducer theproducer deleted the fix/RMET-4940 branch January 22, 2026 16:01
@zarko-tg
Copy link
Copy Markdown

While this may have solved the original problem, 8.0.2 seems to be breaking our (@ionic/angular 6) app in multiple ways and places when testing on a Pixel 9 (Android 16). I cannot provide a full systematic description atm. due to the magnitude of the issue, but the VK popping up results in for ex.:

  • A whole page overscrolling up including the header. The footer stays put / anchored.
  • A page being covered on the bottom - the footer get covered by the VK.
  • Other / some pages are unaffected.

@OS-pedrogustavobilro
Copy link
Copy Markdown
Contributor

Hey @zarko-tg, I can't say for certain, but would it be possible for you to try and update ionic dependencies to the latest version? I think that they include edge-to-edge fixes and features that might not be available in version 6.

If you find that you're still having those problems, please open new issue(s) with more information for us to take a look.

@zarko-tg
Copy link
Copy Markdown

Hey @zarko-tg, I can't say for certain, but would it be possible for you to try and update ionic dependencies to the latest version? I think that they include edge-to-edge fixes and features that might not be available in version 6.

If you find that you're still having those problems, please open new issue(s) with more information for us to take a look.

Hi, and thanks for the follow-up.
The latest v6 @ionic/angular seems to be last touched in 2023, so I doubt it has gotten any recent edge-to-edge fixes. Atm. I don't know if the problem originates in or it's a specific case where Capacitor 8 no longer "plays" well with it.
I guess I could run some independent tests soon of the latest @ionic/angular (8) with the latest Capacitor just to compare.

@aeharding
Copy link
Copy Markdown

Is anyone else experiencing an issue after upgrading to capacitor v8.0.2 where the main page content always scrolls (doesn't resize) whenever keyboard is open? This is consistently reproducible for me on system webview v143.0.7499.146.0 and android v16. Latest version of Ionic & other dependencies.

Issue goes away downgrading to 8.0.0. I haven't tried 8.0.1 yet.

Happy to make an issue if needed.

IMG_0570.mp4

@zarko-tg
Copy link
Copy Markdown

zarko-tg commented Feb 2, 2026

Hey @zarko-tg, I can't say for certain, but would it be possible for you to try and update ionic dependencies to the latest version? I think that they include edge-to-edge fixes and features that might not be available in version 6.
If you find that you're still having those problems, please open new issue(s) with more information for us to take a look.

Hi, and thanks for the follow-up. The latest v6 @ionic/angular seems to be last touched in 2023, so I doubt it has gotten any recent edge-to-edge fixes. Atm. I don't know if the problem originates in or it's a specific case where Capacitor 8 no longer "plays" well with it. I guess I could run some independent tests soon of the latest @ionic/angular (8) with the latest Capacitor just to compare.

@OS-pedrogustavobilro Just for the record, we had to add
Keyboard: {
resizeOnFullScreen: true, // Android only (applies to versions >= 15)
},
to capacitor.config.js, which did it for calculating the correct height of the app re. VK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

7 participants