wuba / wuba/react-native-echarts

Skia charts being duplicated after foreground comeback on 3.0.1

Open
#271 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Create an line skia chart
  2. Go foreground mode after it rendered first time
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.