-
-
Notifications
You must be signed in to change notification settings - Fork 144
Conversation
Mmm, there seems to be a problem with CI in general. |
cacee1e
to
0482abd
Compare
hmm, not sure what's going on with CI, I'll have to investigate. We're going to need to do more than just dropping the In principle we may need to save the original values of these attributes in |
9fff249
to
ec7b6bc
Compare
The |
Fixed the build process via plotly/dash-html-components#170 - now it's just routine linter errors 😏 |
Updated, and tests added. Only a linting issue with |
I also updated the code sample in the top post to do about the same thing as the test does. |
for this PR and the import fix
eb82ae1 resulted from |
Updated again. I also ran a little test with a layout that has |
The failing test looks like a glitch in another test. |
I restarted the CI and all looks good now. |
@alexcjohnson also added a test to check that original values are correctly restored. |
Hi, any chance to get this PR merged before the next Dash release? Pretty please :-) ? |
Yes sorry, it's been waiting on me to play with it a bit, but we'll get it in for the next release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK! @almarklein I was concerned about how this would work in various other cases including both mutations and brand new figures and alternating responsive and figure edits, so I expanded on your second test a bit. All works great! 💃
Thanks @alexcjohnson for wrapping this one up :) |
Fixes #879 (hopefully)
This small changes fixes the issue (for e.g. the example below). That said, I cannot oversee whether this potentially breaks other code. In theory, the tests will tell ;)
Example to test this: