appandflow / appandflow/react-native-safe-area-context

Bottom inset on samsung galaxy S23 Ultra (physical device) is 0

オープン
#466 コメント 10 件 リアクション 19 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
2.8k
フォーク
258
平均マージ
3日 1時間
マージ済み PR(30日)
2

説明

```
const insets = useSafeAreaInsets();
console.log('insets ????', insets);
result --> insets ???? {"bottom": 0, "left": 0, "right": 0, "top": 28.571428298950195}
```

Above log is from Samsung Galaxy S23 Ultra physical device using ExpoGo

`package.json --> "react-native-safe-area-context": "4.6.3"`

On iOS everything is fine and good, I am getting insets like normal, but on the S23 Ultra (physical device), the bottom inset is 0, also on the simulator Pixel 6 Pro API 33. What am I doing wrong here? Why is it 0?

I see that most of the issues about insets being 0 are related to the top inset and that the problem is usually caused somehow by `` but here I don't have this problem, my problem is with the system's bottom navigation where that "handle" is.

Any suggestions?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。