mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
294cf84469
Summary: iOS/UIKit prop `safeAreaInsets` sometimes produces values (and calls `safeAreaInsetsDidChange`) that practically the same but differ just enough to make operator `==` return `false`. That causes an indefinite state update loop and dizzying of the interface. We do the same in Paper component as well. Changelog: [Internal] Fabric-specific internal change. Reviewed By: JoshuaGross Differential Revision: D18964089 fbshipit-source-id: 4c714d2554fdee0f6e999921f69b95676080b8fa