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

insets.top switching to 0 during iPad orientation change

Đang mở
#485 27 bình luận 2 reaction 0 người được giao Xem trên GitHub
help wanted Platform: iOS
Ngôn ngữ chính
TypeScript
Star
2.8k
Fork
258
Merge trung bình
3 ngày 1 giờ
Pull request đã merge (30 ngày)
2

Mô tả

On iPad, `insets.top` changes during an orientation change from X to 0 and back to X, causing the app to re-render and recalculate layouts back and forth.

This only happens when going from landscape to portrait.
I've opened a related issue on RN-navigation: https://github.com/react-navigation/react-navigation/issues/11915

EDIT:
insets.top changes from landscape to portrait to 0
insets.bottom changes from portrait to landscape to 0

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.