Skip to content

Fix2950 parcoords cannot select first enum#3915

Merged
archmoj merged 2 commits into
masterfrom
fix2950-parcoords-cannot-select-first-enum
May 28, 2019
Merged

Fix2950 parcoords cannot select first enum#3915
archmoj merged 2 commits into
masterfrom
fix2950-parcoords-cannot-select-first-enum

Conversation

@archmoj

@archmoj archmoj commented May 28, 2019

Copy link
Copy Markdown
Contributor

Fix for #2950 and https://github.com/plotly/phoenix-integration/issues/201.

The bug was introduced at this line; whereas i === 1 should have been applied.

if(v > aNext || i === a.length - 1) return snapOvershoot(aNext, aPrev);

The logic within low and high functions are also refactored and merged into one function.

@plotly/plotly_js

@archmoj archmoj added bug something broken status: reviewable labels May 28, 2019
@etpinard

Copy link
Copy Markdown
Contributor

Nice fix and cleanup!

💃


Does this also fix #3794 ?

@archmoj
archmoj merged commit 7c28505 into master May 28, 2019
@archmoj
archmoj deleted the fix2950-parcoords-cannot-select-first-enum branch May 28, 2019 02:25
@archmoj archmoj added this to the v1.48.0 milestone May 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug something broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants