-
Notifications
You must be signed in to change notification settings - Fork 182
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
using checkboxes: how to avoid a race? #35
Comments
Sorry I tried my best to click as fast as I can, but I just could not reproduce the problem. I'm not sure if it is because my laptop is just too fast... (8G Memory, Intel Core i7-3630QM CPU @ 2.40GHz × 8). |
(Sadly) I can do it every time. Not sure how much depends from the actual speed of the device. Also, would it help if I take a screencast? |
@yihui I have done a screen recording of the problem, but it is not supported by github. Here is the video https://www.dropbox.com/l/tpzeafZeyB2JOas3PrusKs/invite |
Thanks for the screen recording. I can see your problem. Perhaps it was a bad idea from the beginning when I told you the |
@yihui As I have a similar problem with shiny and numericInput (and renderUI), I've just posted an issue on the shiny site referencing this one as well. |
Thanks! You may also post an example of numericInput() and renderUI() there. I think that example should be easier to debug than this DT one. |
@yihui so far nothing has happened on this issue:
Would you kindly have time to help? |
I guess this issue is not specific to DT, but is a general shiny problem, so I'm closing this issue, and let's keep the discussion in the shiny repo only. Anyway, as Joe pointed out, if only you could avoid the circular dependency... |
Is the rownames = checkboxRows() still active ? This would be a useful feature in appending checkboxes to the rows |
@jasdumas No, it has been removed. Please see #93 (comment) |
If you click very fast on one checkbox, the datatable and the resulting slider enter in an endless loop. It happens also in my app.
I have built the code below (apologies for the length) to reproduce it.
What could I do to avoid this??
The text was updated successfully, but these errors were encountered: