fix(android): improve handling of native ancestors

This commit is contained in:
Mikael Sand
2020-01-04 16:33:23 +02:00
parent 0d302250ce
commit 89f443236e
@@ -122,10 +122,9 @@ class GroupView extends RenderableView {
if (svgView.isResponsible()) {
svg.enableTouchEvents();
}
} else if (child instanceof ReactViewGroup) {
} else {
// Enable rendering other native ancestor views in e.g. masks
ReactViewGroup vg = (ReactViewGroup) child;
vg.draw(canvas);
child.draw(canvas);
}
}
this.setClientRect(groupRect);