wuba / wuba/react-native-echarts
Skia charts being duplicated after foreground comeback on 3.0.1
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 967
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
This issue happens only on Android and with skia renderer.
When the app comes from foreground mode an strange "shadow" is applied over the chart, probably because the chart is duplicated one above the other.
To Reproduce
- Create an line skia chart
- Go foreground mode after it rendered first time
- Go back to the app
Expected behavior
Don't duplicate the chart
One solution that we got is use the svg renderer on android.
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.
Research direction
No files or tests are named. Reproduce the issue on Android with a Skia line chart by backgrounding and restoring the app, then trace the foreground comeback handling; done means the chart renders only once after returning to the app.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native, typescript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100