Closed andrejadd closed 7 years ago
Put in a debounce on input$timepoint_sp and input$timepoint_tt. Inside server():
timepoint_sp_d <- debounce(reactive({input$timepoint_sp}) , 500)
timepoint_tt_d <- debounce(reactive({input$timepoint_tt}) , 500)
# use timepoint_sp_d() and timepoint_tt_d() inside renderPlot() to delay rendering
Works not bad, but not 100% satisfied:
Putting this into backlog, maybe there will be some time to improve sliderValues() and make input$timepoint_* directly debounce (see source of sliderInput(), e.g.).
I put in a debounce on timepoint_sp and timepoint_tt.
see inputs timepoint_sp and timepoint_tt, both need to be slightly delayed.