react-native-safe-area-context icon indicating copy to clipboard operation
react-native-safe-area-context copied to clipboard

bottom inset is 0 on OnePlus 7 Pro

Open etodanik opened this issue 3 years ago • 7 comments

I'm getting a false bottom inset of 0. initialWindowMetrics specifies a correct inset of 56, but even using that, it quickly changes to 0.

Using Expo and react-native-safe-area-context version 3.2.0, Android v11

etodanik avatar Jul 16 '21 11:07 etodanik

Having a similar problem with OnePlus 5T.

When using useSafeAreaInsets the bottom value is equal to 0, but when using the initialWindowMetrics object, insets.bottom is 48, but the values of initialWindowMetrics don't change for me.

With react-native-safe-area-context : 3.2.0 and android v10

romancxx avatar Jul 26 '21 15:07 romancxx

I've encounted the same issue with emulator and devices too.

terryatgithub avatar Oct 15 '21 07:10 terryatgithub

having the same issue with Samsung Galaxy A32

thedanielha avatar Mar 28 '22 01:03 thedanielha

Having the same issue with Samsung Galaxy A41.

Seems to be a problem with something called "softbar" ?

f-ricci avatar Apr 23 '22 12:04 f-ricci

This is also happening to me, using a Pixel 3 emulator.

monkora avatar Jul 13 '22 15:07 monkora

Same issue here, galaxy s22 and Pixel 3A emulator

FontSanguinetti avatar Sep 05 '22 16:09 FontSanguinetti

Seeing the same issue on a Pixel emulator running Android 12.

Happens in versions 3.4.1 and 4.3.3

samcarlinone avatar Sep 07 '22 15:09 samcarlinone

Android has a bunch of xml configs for this stuff. I know it's not documented here (PRs would be really apprecianted) - but you do have to configure them

jacobp100 avatar Jan 19 '23 16:01 jacobp100

@jacobp100

Android has a bunch of xml configs for this stuff.

What does this mean? Any concrete information would be helpful.

I know it's not documented here (PRs would be really apprecianted) - but you do have to configure them

Can you leave this Issue open, then, and perhaps rename it to reflect that it's about missing / needed documentation about some XML configs?

taylorkline avatar Jan 19 '23 21:01 taylorkline

https://github.com/th3rdwave/react-native-safe-area-context/issues/349

jacobp100 avatar Jan 20 '23 09:01 jacobp100