Skip to content

Dropdown selects the wrong option #1169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rreusser opened this issue Nov 18, 2016 · 3 comments
Closed

Dropdown selects the wrong option #1169

rreusser opened this issue Nov 18, 2016 · 3 comments
Assignees
Labels
bug something broken

Comments

@rreusser
Copy link
Contributor

Select option b. It jumps to option c:

http://codepen.io/rsreusser/pen/YpNGaY?editors=0010

cc @jackparmer @etpinard

@rreusser rreusser added the bug something broken label Nov 18, 2016
@n-riesco
Copy link
Contributor

I'm already looking at adding a scrollbar to the dropdown menu. I could have a look at this issue too.

n-riesco added a commit to n-riesco/plotly.js that referenced this issue Nov 18, 2016
* Note that the click handler already updates the header and invokes
  `Plots.executeAPICommand`.

Fixes plotly#1169
@rreusser rreusser self-assigned this Nov 21, 2016
@rreusser
Copy link
Contributor Author

rreusser commented Nov 21, 2016

Investigating this. @n-riesco's assessment is that my matching logic is interfering and needs to be better, which seems correct. Adding failing test and fixing now.

etpinard added a commit that referenced this issue Nov 21, 2016
n-riesco added a commit to n-riesco/plotly.js that referenced this issue Nov 21, 2016
* Added lookup table to search commands by value.

Fixes plotly#1169
n-riesco added a commit to n-riesco/plotly.js that referenced this issue Nov 21, 2016
* Added lookup table to search commands by value.

Fixes plotly#1169
@etpinard
Copy link
Contributor

Closed in #1176

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

No branches or pull requests

3 participants