-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Transform flip example on new renderer #39259
Conversation
This pull request was exported from Phabricator. Differential Revision: D48905010 |
Base commit: edff5e9 |
This pull request was exported from Phabricator. Differential Revision: D48905010 |
cd8b0c8
to
2b81cb6
Compare
Summary: This matches the [behaviour we had in the old renderer](https://github.com/facebook/react-native/blob/main/packages/react-native/React/Views/UIView%2BReact.m#L145) where zIndex is mapped to the CALayer's zPosition. This is required to prevent clipping of views in rotation transforms as currently used in the TransformExample. Changelog: [iOS][Fixed] Rotation transforms are no longer clipped when zIndex is applied Reviewed By: christophpurrer Differential Revision: D48905010
Summary: This matches the [behaviour we had in the old renderer](https://github.com/facebook/react-native/blob/main/packages/react-native/React/Views/UIView%2BReact.m#L145) where zIndex is mapped to the CALayer's zPosition. This is required to prevent clipping of views in rotation transforms as currently used in the TransformExample. Changelog: [iOS][Fixed] Rotation transforms are no longer clipped when zIndex is applied Reviewed By: christophpurrer Differential Revision: D48905010
2b81cb6
to
13ca6c6
Compare
This pull request was exported from Phabricator. Differential Revision: D48905010 |
Summary: This matches the [behaviour we had in the old renderer](https://github.com/facebook/react-native/blob/main/packages/react-native/React/Views/UIView%2BReact.m#L145) where zIndex is mapped to the CALayer's zPosition. This is required to prevent clipping of views in rotation transforms as currently used in the TransformExample. Changelog: [iOS][Fixed] Rotation transforms are no longer clipped when zIndex is applied Reviewed By: christophpurrer Differential Revision: D48905010
13ca6c6
to
b8eb9a8
Compare
This pull request was exported from Phabricator. Differential Revision: D48905010 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D48905010 |
Summary: Pull Request resolved: facebook#39259 This matches the [behaviour we had in the old renderer](https://github.com/facebook/react-native/blob/main/packages/react-native/React/Views/UIView%2BReact.m#L145) where zIndex is mapped to the CALayer's zPosition. This is required to prevent clipping of views in rotation transforms as currently used in the TransformExample. Changelog: [iOS][Fixed] Rotation transforms are no longer clipped when zIndex is applied Reviewed By: christophpurrer Differential Revision: D48905010 fbshipit-source-id: 046ee7ad37d78ee47a7d1ce5fee2081836173cf2
b8eb9a8
to
6a5e824
Compare
This pull request was exported from Phabricator. Differential Revision: D48905010 |
Summary: Pull Request resolved: facebook#39259 This matches the [behaviour we had in the old renderer](https://github.com/facebook/react-native/blob/main/packages/react-native/React/Views/UIView%2BReact.m#L145) where zIndex is mapped to the CALayer's zPosition. This is required to prevent clipping of views in rotation transforms as currently used in the TransformExample. Changelog: [iOS][Fixed] Rotation transforms are no longer clipped when zIndex is applied Reviewed By: christophpurrer Differential Revision: D48905010 fbshipit-source-id: bbee2c9b7319e41a9fcde47d53fc3baeadde91ef
6a5e824
to
0674f85
Compare
This pull request was exported from Phabricator. Differential Revision: D48905010 |
Summary: Pull Request resolved: facebook#39259 This matches the [behaviour we had in the old renderer](https://github.com/facebook/react-native/blob/main/packages/react-native/React/Views/UIView%2BReact.m#L145) where zIndex is mapped to the CALayer's zPosition. This is required to prevent clipping of views in rotation transforms as currently used in the TransformExample. Changelog: [iOS][Fixed] Rotation transforms are no longer clipped when zIndex is applied Reviewed By: christophpurrer Differential Revision: D48905010 fbshipit-source-id: 42d66beb0f21126fba2fe1ecf4ef9768e10d9885
0674f85
to
3ec799d
Compare
Summary: This matches the [behaviour we had in the old renderer](https://github.com/facebook/react-native/blob/main/packages/react-native/React/Views/UIView%2BReact.m#L145) where zIndex is mapped to the CALayer's zPosition. This is required to prevent clipping of views in rotation transforms as currently used in the TransformExample. Changelog: [iOS][Fixed] Rotation transforms are no longer clipped when zIndex is applied Reviewed By: christophpurrer Differential Revision: D48905010
3ec799d
to
cc86d15
Compare
This pull request was exported from Phabricator. Differential Revision: D48905010 |
Summary: This matches the [behaviour we had in the old renderer](https://github.com/facebook/react-native/blob/main/packages/react-native/React/Views/UIView%2BReact.m#L145) where zIndex is mapped to the CALayer's zPosition. This is required to prevent clipping of views in rotation transforms as currently used in the TransformExample. Changelog: [iOS][Fixed] Rotation transforms are no longer clipped when zIndex is applied Reviewed By: christophpurrer Differential Revision: D48905010
cc86d15
to
7ce6e9a
Compare
This pull request was exported from Phabricator. Differential Revision: D48905010 |
Summary: This matches the [behaviour we had in the old renderer](https://github.com/facebook/react-native/blob/main/packages/react-native/React/Views/UIView%2BReact.m#L145) where zIndex is mapped to the CALayer's zPosition. This is required to prevent clipping of views in rotation transforms as currently used in the TransformExample. Changelog: [iOS][Fixed] Rotation transforms are no longer clipped when zIndex is applied Reviewed By: christophpurrer Differential Revision: D48905010
7ce6e9a
to
eebe5be
Compare
This pull request was exported from Phabricator. Differential Revision: D48905010 |
Summary: This matches the [behaviour we had in the old renderer](https://github.com/facebook/react-native/blob/main/packages/react-native/React/Views/UIView%2BReact.m#L145) where zIndex is mapped to the CALayer's zPosition. This is required to prevent clipping of views in rotation transforms as currently used in the TransformExample. Changelog: [iOS][Fixed] Rotation transforms are no longer clipped when zIndex is applied Reviewed By: christophpurrer Differential Revision: D48905010
eebe5be
to
f46dd88
Compare
This pull request was exported from Phabricator. Differential Revision: D48905010 |
This pull request has been merged in 850349b. |
Summary:
This matches the behaviour we had in the old renderer where zIndex is mapped to the CALayer's zPosition. This is required to prevent clipping of views in rotation transforms as currently used in the TransformExample.
Changelog: [iOS][Fixed] Rotation transforms are no longer clipped when zIndex is applied
Differential Revision: D48905010