mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fabric: Removing applying zIndex to layout.zIndex on iOS mounting layer
Summary: Now we have `zIndex` feature implemented in the Core, we don't need to have it implemented on the mounting layer. Changelog: [Internal] Fabric-specific internal change. Reviewed By: sammy-SC Differential Revision: D20432156 fbshipit-source-id: f77b96919bab21b6628472b9fe58c5f4e3233318
This commit is contained in:
1 parent
14a174c237
commit
efa74c4c23
1 file changed
-5
@@ -188,11 +188,6 @@ using namespace facebook::react;
|
||||
needsInvalidateLayer = YES;
|
||||
}
|
||||
|
||||
// `zIndex`
|
||||
if (oldViewProps.zIndex != newViewProps.zIndex) {
|
||||
self.layer.zPosition = (CGFloat)newViewProps.zIndex;
|
||||
}
|
||||
|
||||
// `border`
|
||||
if (oldViewProps.borderStyles != newViewProps.borderStyles || oldViewProps.borderRadii != newViewProps.borderRadii ||
|
||||
oldViewProps.borderColors != newViewProps.borderColors) {
|
||||
|
||||
Reference in new issue
Block a user