apache / apache/echarts

[Feature] Please add a feature to define whether the MouseEvents are passive.

Open
#20,914 1 comment 2 reactions 0 assignees View on GitHub
en new-feature pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

Browser warnings that comes in angular stating
`home.component.ts:72 [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952`

This is not an issue yet. But a feature better to have.

### What does the proposed API look like?

A flag in ChartOptions like?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.