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

Comments

Projects
None yet
2 participants
@daattali
Owner

daattali commented Jul 26, 2016

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

This comment has been minimized.

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

This comment has been minimized.

Owner

daattali commented Aug 23, 2016

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

@hemans

This comment has been minimized.

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