-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unexpected scroll #19
Comments
Hello, thanks for using conductor! I need a bit more info to understand and fix the issue:
I made a small example below. With the github version, when I go to the second step, the application scrolls so that the second plot is entirely highlighted. Is this different from what you want? library(shiny)
library(conductor)
guide <- Conductor$new()$
step(
el = "#first_step",
"First step"
)$
step(
el = "#second_step",
"Second step"
)
ui <- fluidPage(
useConductor(),
plotOutput("first_step"),
br(), br(), br(), br(), br(), br(), br(),
plotOutput("second_step")
)
server <- function(input, output, session) {
guide$init()$start()
output$first_step <- renderPlot(plot(iris))
output$second_step <- renderPlot(plot(mtcars))
}
shinyApp(ui, server, options = list(launch.browser = TRUE)) |
Hi, thanks for the tip! Using the github version works as expected! |
Great, I noticed this behavior just after the package was released and I didn't want to resubmit to CRAN just for that. I'll let you know when the new version is on CRAN (probably not so soon if there are not much bug fixes or new features). |
Hi, first of all, really enjoying the features in
conductor
! However, I notice that when my app steps through the tour, the application scrolls, so that the info "bubble" is at the top of the screen. This seems un-intuitive as the default, since if requires the user to reorient to the app in each step. Is there a simple way to disable this? Do I have to go into the CSS file?Thanks!!
The text was updated successfully, but these errors were encountered: