Allow views to be collapsed when pointerEvents is set

Reviewed By: astreet

Differential Revision: D4440164

fbshipit-source-id: 88a710affea229228f9c96b82d0bcf4c81f3205d
This commit is contained in:
Pieter De Baets authored and Facebook Github Bot committed 2017-01-23 11:28:51 -08:00
1 parent 29a996c83e
commit 88eeea0995
3 files changed
+16 -4

No files matched your search

@@ -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;
}
}