mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove experimental_boxShadow from Android base view config (#45529)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45529 `experimental_boxShadow` is not yet part of Android view managers, and when we enable it, we are likely to do a view manager at a time before moving to BaseViewManager. This causes user-visible errors when viewconfig validation is turned on, since we have a static view config, but not yet a native view config. This removes the static viewconfig for Android until we start adding setters to view manager. It is kept in `ReactNativeStyleAttributes` (which I think can have members not in the native view-config, since it has component specific props like tintColor), and iOS base viewconfig. On Fabric iOS, this is part of BaseViewProps, and handled by RCTView, but it looks like the prop (and also `experimental_filter`, `experimental_mixBlendMode`) do not have entries in iOS RCTViewManager, which is fixed in next diff in the stack. Changelog: [Internal] Reviewed By: RSNara Differential Revision: D59939866 fbshipit-source-id: 2781029a0c29ba111ed04edfe9940c6c72f4e5ac
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1315d65bf5
commit
245e5d9d95
@@ -170,9 +170,6 @@ const validAttributesForNonEventProps = {
|
||||
process: require('../StyleSheet/processFilter').default,
|
||||
},
|
||||
experimental_mixBlendMode: true,
|
||||
experimental_boxShadow: {
|
||||
process: require('../StyleSheet/processBoxShadow').default,
|
||||
},
|
||||
opacity: true,
|
||||
elevation: true,
|
||||
shadowColor: {process: require('../StyleSheet/processColor').default},
|
||||
|
||||
Reference in New Issue
Block a user