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
Poor scrolling experience when inline rendering of {gt} code chunks #8280
Comments
|
@davidski Thank you for raising the issue, and referencing the original Community discussion! The Rmd you provided is very helpful—I can reproduce the problem in both RStudio Desktop 1.3.1093 and 1.4.1002 on MacOS 11.0.1 beta, and RStudio Server 1.4.1004 on Red Hat 8.2. I'll mark this as a bug to review as we continue development of RStudio. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions. |
|
Is this truly a |
|
I just installed a fresh version of RStudio (1.4.1717) with a fresh install of R (4.1.0) on my MacBook Pro 16 (Big Sur 11.4) and immediately noticed this problem. Previously I was running RStudio thru Anaconda (1.1.456, the latest version Anaconda supports) and this scrolling problem never occurred. It really does significantly degrade the user experience when trying to use RStudio notebooks. Really hope this gets fixed, definitely not stale. Update: this is definitely a kableExtra conflict. The freezing occurs only on chunk outputs formatted with kable or kbl. I had a similar problem with trying to run R in JupyterLab. The notebooks would not output a kable-formatted table, only show its html. BTW, a workaround is to get used to scrolling with the cursor in the left-side gutter. That scrolls thru the offending output chunks. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs, per https://github.com/rstudio/rstudio/wiki/Issue-Grooming. Thank you for your contributions. |
|
Ping for activity on this. I'd love to see this addressed in a future release. |
|
I believe this is related, and perhaps fixed in, #2202 |
Follow up from RStudio Community thread - https://community.rstudio.com/t/mouse-scrolling-over-inline-htmlwidget-gt-etc-output/86719
System details
scroll_reprex.Rmd.zip
Steps to reproduce the problem
Describe the problem in detail
Describe the behavior you expected
When a htmlwidget/gt object does not require scrolling to display, simply mousing over the object should not steal focus from document scrolling.
Ideally, these sorts of iframe-like embeds should require explicit user clicks in them to switch scroll/focus to them out of the overall source context.
This is a potential accessibility issue
I have read the guide for submitting good bug reports.
I have installed the latest version of RStudio, and confirmed that the issue still persists.
If I am reporting a RStudio crash, I have included a diagnostics report.
I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
The text was updated successfully, but these errors were encountered: