I'm using NuxtJS with capacitor. The top status bar on iOS devices overlaps when we scroll. I also added "ios": {"contentInset": "always"}
in Capacitor.config.json.
Although I also included the CSS, it creates extra space at the top.
body { padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
This can be achieved by adding the following lines in the CAPViewBridgeController file
Search for the following functions and update. The function should look like this