anvaka / anvaka/VivaGraphJS

Resizing window causes graph to jump to the left/right?

Open
#199 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.9k
Forks
418
PR merge metrics
No merged PRs in 30d

Description

When resizing the window, the whole graph does a weird "jump" to the left or right:

![vivagraph-window-size-change-bug](https://cloud.githubusercontent.com/assets/1167575/25575698/2829970a-2e8c-11e7-8073-cce7e17f740d.gif)

Try it out here: http://jsbin.com/pelacomibu/1/edit?html,output

Any idea what's going on? When doing this with larger graphs the jump seems to be bigger - the graph instantly jumps off the screen so that all you see is the white background.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the JS Bin reproduction linked in the issue and resize the window while observing the graph's position. Trace the resize-handling entry point and determine why larger graphs move off-screen. Done means resizing no longer causes the graph to jump left or right, including for larger graphs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.