plotly / plotly/plotly.js

Not able to unselect some actions

Open
#7,319 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P3
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

When we click on the Pan or box select, then it does not allow to unselect it, and the action remains unless we remount the chart component.

check it here

I am using these two packages:
  1. "plotly.js": "^2.35.2"
  2. "react-plotly.js": "^2.6.0",
The actions should get unselected when we again on the button after selection

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

Start with the linked CodePen reproduction and trace the Pan and box-select action controls in plotly.js. Verify that clicking an already selected action clears it without remounting the chart, and confirm the behavior with the reported plotly.js and react-plotly.js versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.