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

UI bug (?) materialSwitch version > 0.8.0 #667

Open
le-raman opened this issue Feb 21, 2024 · 2 comments
Open

UI bug (?) materialSwitch version > 0.8.0 #667

le-raman opened this issue Feb 21, 2024 · 2 comments

Comments

@le-raman
Copy link

Hi devs,

My materialSwitches using shinyWidgets 0.7.x look like this:

image

However, in 0.8.x, they look like this:

image

Any idea what triggers this?

Thanks!

@le-raman
Copy link
Author

Just to confirm, there is a similar issue with a minimal example, without custom css:

library("shiny")

ui <- fluidPage(
  shiny::HTML("<br><br>"),
  shinyWidgets::materialSwitch(
    "test",
    "test"
  )
)

server <- function(input, output, session) {
}

shinyApp(ui, server)

@le-raman
Copy link
Author

I see the issue has been reported already here. I can confirm clearing the cache of the browser solved it. However, this might still be something to look in to, as I can't ask all users of the application to do the same thing.

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

1 participant