-
Notifications
You must be signed in to change notification settings - Fork 92
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
Data_frame with two tables in edit mode, hangs browser. Potential Bug? #1498
Comments
@maxmoro Thank you for the reprex code! I was only able to reproduce it once locally. So I wasn't able to debug it 😞 Could you send me a video of what is happening on your machine? |
Hi @schloerke, The behavior in the recording is inconsistent. It seems to occur when I'm editing, and scrolling sometimes triggers the issue. It happens specifically when I switch tabs after editing. When this occurs, the CPU usage maxes out. Sometimes the process completes, and the app becomes usable again, but often the browser tab remains unresponsive. Desktop.2024.07.10.-.19.48.55.05c.mp4I hope this helps! I'm happy to provide any additional details or run any tests that might be helpful |
I was able to create a repeatable process that shows the issue, using the Shiny Live session. Desktop.2024.07.10.-.22.11.02.09.1.mp4 |
Thank you @maxmoro for the issue and video. After many hours, I narrowed it down to the steps:
It was unrelated to editing or having a table on the second page. Only related scrolling down enough to remove at least the first row and then hiding the table. Turns out, we just needed to update the TS deps and the issue goes away. 🙄 But I'm glad it's fixed 🥳 In addition, I've added (Will close issue with PR) |
This is great! Thank you for working on it |
Here below is a short example that hangs my browser.
I've two panels, with a large dataset (20cols, 5000 rows).
I'm attaching the code to create the fake dataset and the code that creates the problem.
I tried running in Shiny Live, sometimes it hangs and sometimes it takes a long time to switch the tab. I can't share the Shiny Live link as it is too long. (and can't use the
faker
library on Shiny Live).I'm using shiny==0.10.2
Please try by
Large Fake dataset creation
The dataset is fake. It is created using the Faker library.
App.py that shows the issue
The text was updated successfully, but these errors were encountered: