wuba / wuba/react-native-echarts
How to cancel Tooltip TouchEvent when chart in scrollview
Open
@SilentMelody is already working on this.
Since Jan 19, 2024.
- Dominant language
- TypeScript
- Stars
- 967
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
When i put <TouchableOpacity /> inside <Scrollview />, the press event can be cancelled when the gesture scroll-out.
But with the <Chart /> inside <Scrollview />, tooltip {trigger: "item"} event in <Chart /> will trigger immediately and show tooltip on press-in, cannot be cancelled
how to cancel tooltip triggered when user gesture scroll out the chart view ?
https://github.com/wuba/react-native-echarts/assets/30792140/aeddc8c9-bcf7-41d8-9281-ae9701894a2a
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.