c3js / c3js/c3

Legend toggle also applies hover effects on mobile devices

Open
#2,562 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.4k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

* **C3 version**: 0.6.12
* **D3 version**: 5.0.0
* **Browser**: All
* **OS**: All
* **Devices**: All **mobile** devices

* After toggling/tapping/clicking a disabled legend item, it also applies hover effect and grays out other bars/lines etc.

* You can reproduce this bug by using any sample on c3js.org which has more than one legend item.
For example:
* https://c3js.org/samples/chart_bar.html

* Reproduction steps(**on mobile device**):
1. Click(tap) one of the legend items to toggle it out (disable it).
2. Re-click(tap) same item.

* Expected result:
* All items on chart should be enabled.

* Actual result:
* Only the clicked(tapped) item is enabled because of hover effects.

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.