mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Allow views to be collapsed when pointerEvents is set
Reviewed By: astreet Differential Revision: D4440164 fbshipit-source-id: 88a710affea229228f9c96b82d0bcf4c81f3205d
This commit is contained in:
committed by
Facebook Github Bot
parent
29a996c83e
commit
88eeea0995
+1
-1
@@ -446,7 +446,7 @@ public class NativeViewHierarchyOptimizer {
|
||||
|
||||
ReadableMapKeySetIterator keyIterator = props.mBackingMap.keySetIterator();
|
||||
while (keyIterator.hasNextKey()) {
|
||||
if (!ViewProps.isLayoutOnly(keyIterator.nextKey())) {
|
||||
if (!ViewProps.isLayoutOnly(props.mBackingMap, keyIterator.nextKey())) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user