Detect header height to avoid notch / large header problems


In Ionic 4, I’m looking for a way to change the margin-top / height / padding-top… of some elements according to the header size. Didn’t find any way to do that.

How to detect the header size, or detect if it’s a device with a large header ?


Still not able to figure it out

Found this it seems to work :slight_smile: