mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-13 10:35:51 +00:00
fix(android): improve handling of native ancestors
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user