-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Moved .exit before .enter, should fix #1460 #1463
Conversation
@Frozenlock please test it out, see if it resolves the issue. |
Yup! |
@gordonwoodhull for your feedback. |
I'm willing to merge this, but as I asked in #1460 (comment), I would still like to know why this works. If Deepening the mystery, Mike's General Update Pattern series of blocks have |
@gordonwoodhull it indeed is a mystery to me that how it works. If we consider the original code and see http://localhost:8888/web/examples/scatter-brushing.html, symbols do get removed. So, in general there is no issue in @Frozenlock, I could not find a link to a fiddle to check the problem. Please share the link (preferably the filter one), I will dig deeper into it. |
@kum-deepak My apologies, but the gif is from a pretty complex setup in Clojurescript. The simplest way to test this is probably to have a button with which you can remove an entry in the chart's group. @gordonwoodhull will probably know more about what is going on, as he correctly guessed I was using fake groups. |
Okay I'll try to test this. The scatter-brushing escape doesn't exhibit the problem because no bins are actually removed - the values just go to zero and the chart reacts by setting the size to zero based on the This is what you get with straight crossfilter, which is probably why we didn't have any Jasmine tests for it. |
Ah, okay, the answer is really trivial. I was totally overthinking it. 😊 It's just that using this coding pattern we replace the Think I understood this before and just forgot. |
Thanks @kum-deepak, released in 3.0.5 |
(added a test too!) |
Possible fix of #1460.