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

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

Projects

None yet

2 participants

@daattali
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.

@daattali daattali added the bug label Jul 26, 2016
@daattali daattali closed this in cee3d5a Jul 26, 2016
@hemans
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
Owner

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

@hemans
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