Skip to content

Commit a75fc74

Browse files
author
Becca Bailey
authored
Merge pull request #2071 from FormidableLabs/zibs/android-victory-container-touchable
fix: android touch events
2 parents dddbaa6 + f4a4337 commit a75fc74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/victory-native/src/components/victory-container.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ export default class extends VictoryContainer {
158158
{title ? <title id="title">{title}</title> : null}
159159
{desc ? <desc id="desc">{desc}</desc> : null}
160160
{children}
161+
<View style={portalDivStyle} pointerEvents="box-none">
162+
<Portal {...portalProps} ref={this.savePortalRef} />
163+
</View>
161164
</Svg>
162-
<View style={portalDivStyle} pointerEvents="box-none">
163-
<Portal {...portalProps} ref={this.savePortalRef} />
164-
</View>
165165
</View>
166166
);
167167
}

0 commit comments

Comments
 (0)