Line chart legend resets it's state whenever you scroll down the page
- Dominant language
- Python
- Stars
- 74.8k
- Forks
- 18.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 692
Description
### Bug description
1. Create a dashboard long enough that you have to scroll down
2. Create a line chart with legends on
3. Select any category, using inv or all or only one
4. Scroll down until you can't see the chart anymore
5. Go back to it, the state of the legend will be reset
### Screenshots/recordings

### Superset version
4.0.2
### Python version
I don't know
### Node version
I don't know
### Browser
Chrome
### Additional context
We are using Apache Druid
### Checklist
- [X] I have searched Superset docs and Slack and didn't find a solution to my problem.
- [X] I have searched the GitHub issue tracker and didn't find a similar bug report.
- [X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
Contributor guide
Assessment
This issue has not been assessed yet.