You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the Shiny for Python web site, if you run this in one of the live example boxes, there are too many mouse events, and it can get very laggy -- sometimes taking over ten seconds to respond to subsequent input.
On my Mac, I see this behavior:
In Chrome and Safari, but not Firefox
With a USB mouse, but not with my laptop's built-in touchpad
In this video, just moving the mouse in and out of the map area results in 115 mouse events -- the counter in the console goes from 357 to 471. When I do more mouse motion, it can get backed up with hundreds or even thousands of mouse events, and it takes a long time for it to finish processing these events.
mousemove720.mov
This doesn't happen, or at least doesn't happen nearly as much, with the touchpad. It also doesn't happen on the shinylive.io site, for some reason.
On the Shiny for Python web site, if you run this in one of the live example boxes, there are too many mouse events, and it can get very laggy -- sometimes taking over ten seconds to respond to subsequent input.
On my Mac, I see this behavior:
In this video, just moving the mouse in and out of the map area results in 115 mouse events -- the counter in the console goes from 357 to 471. When I do more mouse motion, it can get backed up with hundreds or even thousands of mouse events, and it takes a long time for it to finish processing these events.
mousemove720.mov
This doesn't happen, or at least doesn't happen nearly as much, with the touchpad. It also doesn't happen on the shinylive.io site, for some reason.
I believe it could be addressed by throttling this: https://github.com/rstudio/py-shinywidgets/blob/2b9bd2d8531e797691f95b3481751120a572fe0c/js/src/comm.ts#L35
The text was updated successfully, but these errors were encountered: