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
2017-01-23 11:28:51 -08:00
committed by Facebook Github Bot
parent 29a996c83e
commit 88eeea0995
3 changed files with 16 additions and 4 deletions
@@ -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;
}
}