Disable default clipping in Fabric's SafeAreaView implementation

Summary:
This behaviour diverges from the original SafeAreaView implementation and causes issues when you try to use SafeAreaView in non-root placements (not recommended)

Changelog: [iOS][Internal]

Reviewed By: sammy-SC

Differential Revision: D39497303

fbshipit-source-id: 03bc288557f611bd4a8c16b3a6df8887e89ee9ec
This commit is contained in:
Pieter De Baets 2022-09-21 04:16:43 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 2f6b2127d9
Коммит d9f93d30e0
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -24,7 +24,6 @@ using namespace facebook::react;
if (self = [super initWithFrame:frame]) { if (self = [super initWithFrame:frame]) {
static auto const defaultProps = std::make_shared<SafeAreaViewProps const>(); static auto const defaultProps = std::make_shared<SafeAreaViewProps const>();
_props = defaultProps; _props = defaultProps;
self.clipsToBounds = YES;
} }
return self; return self;