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

When re-rendering a timeline, the old data are not removed #3

Closed
daattali opened this issue Jul 26, 2016 · 3 comments
Closed

When re-rendering a timeline, the old data are not removed #3

daattali opened this issue Jul 26, 2016 · 3 comments
Labels

Comments

@daattali
Copy link
Owner

Bug reported to me via private email.

Example:

library(shiny)
library(timevis)

ui <- fluidPage(
  timevisOutput("timeline"),
  textInput("text", "Text", "Hello")
)

server <- function(input, output, session) {
  output$timeline <- renderTimevis(
    timevis(data.frame(start = Sys.Date(), content = input$text))
  )
}

shinyApp(ui = ui, server = server)

Every time you change the text, a new item gets added but all the previous ones still exist. That's a clear bug and not how it should work.

@hemans
Copy link

hemans commented Aug 23, 2016

I recently installed timevis but face the same problem though it states as solved and closed?
Would appreciate the help to fix it.

Thanks

@daattali
Copy link
Owner Author

Did you install from CRAN or github? The CRAN version isn't updated.

@hemans
Copy link

hemans commented Aug 24, 2016

Thanks for the response. I reinstalled from github and its working fine.

Thanks

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

No branches or pull requests

2 participants