-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Slider callback_policy should work for apps #4540
Comments
+1 for this. I will be looking forward to this as I am running some expensive calculation. |
👍 Just ran into this issue while working with the server and trying to filter large data sets via the sliders. |
There's a workable solution on stack overflow. Apologies, I can find it on a phone. |
If anyone else finds this issue: |
Just ran into this issue. Is there any workaround for this. I want to have the slide.on_change event to occur at 'mouseup'. |
+1 |
There is a serviceable workaround in the StackOverflow answer linked above |
@bryevdv thanks for pointing it out. I actually found it before this issue thread, and I consider it an ugly hack rather than a workaround :) |
@w4nderlust that sort of comment is neither useful nor appreciated. There is currently more work than people to do it, so if you can do better, great, pull requests are welcome. |
@bryevdv didn’t meant to offend anyone, sorry. My point was that I saw that before commenting on this thread and decided not to include it in my codebase, so having a working workaround didn’t really solve it for me (and doesn’t really solve the problem in general). I’ll gladly contribute if this was a python issue, unfortunately it is mostly a js callback one and on that side I can’t really help. No harm intended anyway, sorry again. |
I think there is actually a simple solution that could work, namely adding a new [1] This ability to distinguish events via two properties would actually be a useful feature in some cases. |
Currently
callback_policy
only affects the triggering of JS callbacks, but it would be extremely useful to be able to throttle callbacks triggered on the server as well. It's possible thatthrottle
mode is not very consistent with this, we might have to interpretthrottle
asmouseup
for purposes of rate-limiting server updates.The text was updated successfully, but these errors were encountered: