IOS Notch Image

I’m trying to have a static image behind my ion-page

but it gives an error when the img tag is not within the ion-page. When I tab back in it gives this error:

I recommend setting the --background CSS Variable on ion-content instead of placing an img underneath the content.

I am pushing down my ion-page by 44px and would like a background beneath it. I tried setting the background of ion-content but it didn’t work as intended.


Can you send over a GitHub repo? Hard to say what the issue might be without being able to reproduce it on my end.