Skip to content

Error when data is updated during selection #2382

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
swiperii opened this issue Feb 19, 2018 · 7 comments
Closed

Error when data is updated during selection #2382

swiperii opened this issue Feb 19, 2018 · 7 comments

Comments

@swiperii
Copy link

swiperii commented Feb 19, 2018

When trace data is updated while dragging selection box, the plot temporarily becomes empty and console logs the following error:
Error while plotting: undefined

See CodePen example (Click Add data, then use box select, drag and hold while a new data point is added)

Since I am using plotly-react.js, I guess this might be related to the new Plotly.react method (and it not taking into account graphDiv._dragging perhaps?).

@etpinard
Copy link
Contributor

Thanks for the report.

Would it possible to make a pure plotly.js reproducible example to help us debug?

@tropys
Copy link

tropys commented Feb 22, 2018

A CodePen example using Plotly.react that exhibits similar behaviour when box selecting.

@tropys
Copy link

tropys commented May 2, 2018

Looks like the behavior for this has changed for the better in the 1.37.0 release

@tropys
Copy link

tropys commented May 2, 2018

Now only the drag box disappears.

@Smurf81
Copy link

Smurf81 commented May 17, 2018

Hello,
I have the same problem, someone find a bypass ?

Same error with extendsTrace CodePen

@david-polak
Copy link

This issue is still relevant screencast

@etpinard
Copy link
Contributor

Merged into #3305

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants