-
Notifications
You must be signed in to change notification settings - Fork 427
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
fix(core): queuePostProcessedRowForCleanup is missing #495
Conversation
- when merging X-Slickgrid for the Frozen stuff, the "queuePostProcessedRowForCleanup" was forgotten as part of the merge.
@6pac I have it installed in my repos and it changes the Merge button and its good to prevent merging something that might not be finished or ready... like this PR |
@6pac |
sure. let me tak a look first, i wrote this code: http://low-bandwidth.blogspot.com/2015/06/slickgrid-async-post-render-cleanup.html |
That would be great if we could close this old issue |
Hey @ghiscoding , I'm well on the way to patching this, but I am a little puzzled by the following code:
I'm not sure why we can't use This is a bit OT, it's not actually parrt of the PostRender functionality, it's just tied up with that code. |
@6pac
|
I was asking specifically about the |
oh ok, I personally never really understood what those zombie rows were for, so can't really answer on that side 😉 |
I'm the one who opened the issue @ghiscoding was talking about, so I check on this issue regulary. 🙂 |
No worries @JE-DW, it'll be done soon, just need to find a few moments. |
@ghiscoding OK I have posted two commits, the first to remove the zombieNode logic, and the second to reinstate the PostRenderCleanup. Can you run these through the test process without me doing a release? I've tested them using the examples and they behave fine there. |
@6pac the Cypress passed in here, the GitHub Actions runs on every commit, I can do similar tests (tonight) as I've done in first post @JE-DW you can maybe help us by going in your |
Ok I'll test this ! |
Ok @6pac and @ghiscoding after getting the right file (sorry 😬), it worked perfectly. No more lag, |
Absolutely. Let me know if you want a release. |
Was good to get rid of the zombieMouseWheel code too, now that the original bug is fixed it could conceivably have been causing performance or other issues. |
Well @JE-DW did mention much more responsiveness in this comment of Angular-Slickgrid.
Thanks a lot Ben for fixing, another bug bites the dust 🚀 |
queuePostProcessedRowForCleanup
was forgotten as part of the merge.Ready for Testing
I don't know how to test it, so please don't merge until someone knows how to test it and possibly change the code if need be. I copied over the missing piece of code, but that might not work since some of the X-Slickgrid uses jQuery DOM references while in this fork, there are portions which use native DOM references. So unless someone knows how to test it, this PR might not be merged.
I tried the
example10a-async-post-render-cleanup.html
and I don't see any error. I see a bunch of console log showing cleaned/rendered. So I assume everything is good, is there anything else that can be tested for thisqueuePostProcessedRowForCleanup
method? If that is the only example to test with, it looks fine to me.Some references
There's also unpkg - SlickGrid@2.3.23 which you can see any version code.