Skip to content

Commit ffaa1a6

Browse files
genkikondofacebook-github-bot
authored andcommitted
Add needsOffscreenAlphaCompositing to view config
Summary: needsOffscreenAlphaCompositing is supported on both iOS and Android, but was missing from the view config for Android. https://reactnative.dev/docs/view#needsoffscreenalphacompositing https://fburl.com/code/hfxkrur1 Changelog: [Internal][Fixed] - Add needsOffscreenAlphaCompositing to view config Reviewed By: NickGerleman Differential Revision: D38580371 fbshipit-source-id: 9b577079e575d73c94d7c0d0298ba880c1438099
1 parent 50e8430 commit ffaa1a6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Libraries/NativeComponent/BaseViewConfig.android.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ const validAttributesForNonEventProps = {
170170
translateX: true,
171171
translateY: true,
172172
accessibilityLiveRegion: true,
173+
needsOffscreenAlphaCompositing: true,
173174

174175
// @ReactProps from LayoutShadowNode
175176
width: true,

0 commit comments

Comments
 (0)