From 904f9316396bec09b7ae0592c4386c515e15ae46 Mon Sep 17 00:00:00 2001 From: Alexandre de Boutray Date: Mon, 13 Apr 2020 11:54:30 -0400 Subject: [PATCH] Add information about padding behavior (#22211) --- docs/safeareaview.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/safeareaview.md b/docs/safeareaview.md index 9d9a0759455..3f6eef973f3 100644 --- a/docs/safeareaview.md +++ b/docs/safeareaview.md @@ -38,6 +38,8 @@ const styles = StyleSheet.create({ Inherits [View Props](view.md#props). +As padding is used to implement the behavior of the component, padding rules in styles applied to a `SafeAreaView` will be ignored and can cause different results depending on the platform. See [#22211](https://github.com/facebook/react-native/issues/22211) for details. + ### `emulateUnlessSupported` | Type | Required | Default |