plotly / plotly/plotly.js

Range Selector buttons causes view to go out of bounds

Open
#5,515 0 comments 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

Screen Shot 2021-02-21 at 14 45 17

To reproduce:

  1. Go to Plotly range selector documentation
  2. Drag the end of the range slider towards the start, so that the range is less than 6 months
  3. Click on the 6m button
  4. The view and slider are now overly expanded, with empty space. And the bounds are set beyond their original scope.

Interesting to note, however, is that the Other official plotly example, this does not occur. Is there a different version?

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

Reproduce the issue in the Plotly time-series range selector documentation by shrinking the range below six months and clicking 6m. Compare that behavior with the official range-slider example, then identify the difference that causes the view and slider bounds to expand; done means the reproduction no longer creates empty space or moves bounds beyond the original scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
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.