Skip to content
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

Sidebar open/close transition not smooth on RHEL #1113

Open
al-obrien opened this issue Sep 11, 2024 · 2 comments
Open

Sidebar open/close transition not smooth on RHEL #1113

al-obrien opened this issue Sep 11, 2024 · 2 comments

Comments

@al-obrien
Copy link

On the latest and dev version of {bslib}, the sidebar is jerky when opening and closing.

I tried this on two systems, one RHEL 8 and another on Windows 10, using similar R versions (4.4.1) and package versions. The one on Linux is jerky, the attempt on Windows 10 performed as normal.

It is easier to show than explain... this is the experience on the Linux machine using the example from the bslib website:

library(shiny)
library(bslib)

ui <- page_sidebar(
  title = "My dashboard",
  sidebar = "Sidebar",
  "Main content area"
)

shinyApp(ui, function(input, output) {})
bslib_sidebar.mp4

Session Info: Linux

R version 4.4.1 (2024-06-14)
Platform: x86_64-pc-linux-gnu
Running under: Red Hat Enterprise Linux 8.9 (Ootpa)

Matrix products: default
BLAS/LAPACK: /usr/lib64/libopenblasp-r0.3.15.so; LAPACK version 3.9.0

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] bslib_0.8.0.9000 shiny_1.9.1

loaded via a namespace (and not attached):
[1] vctrs_0.6.5 cli_3.6.3 rlang_1.1.4 promises_1.3.0 jsonlite_1.8.8
[6] xtable_1.8-4 glue_1.7.0 htmltools_0.5.8.1 httpuv_1.6.15 sass_0.4.9
[11] rsconnect_1.3.1 fansi_1.0.6 jquerylib_0.1.4 tibble_3.2.1 fastmap_1.2.0
[16] lifecycle_1.0.4 memoise_2.0.1 compiler_4.4.1 bsicons_0.1.2 fs_1.6.4
[21] pkgconfig_2.0.3 Rcpp_1.0.13 rstudioapi_0.16.0 later_1.3.2 digest_0.6.37
[26] R6_2.5.1 utf8_1.2.4 pillar_1.9.0 magrittr_2.0.3 tools_4.4.1
[31] mime_0.12 cachem_1.1.0

@gadenbuie
Copy link
Member

What version of Google Chrome are you using on RHEL? The sidebar transition is a CSS animation and its behavior is ultimately dependent on your browser.

@al-obrien
Copy link
Author

al-obrien commented Sep 11, 2024

I do not have control over the version on this particular machine, but this is what I found:

Version 128.0.6613.138 (Official Build) (64-bit)

One point of clarity, the app is made on RHEL using RStudio Server but viewed in Chrome on a Windows machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants