Appsilon / shiny.router

A minimalistic router for your Shiny apps.
http://appsilon.github.io/shiny.router
Other
256 stars 31 forks source link

Rendering slider_input from server with renderUI forces whole UI to completely redraw when routing page #65

Closed FractalPolarity closed 4 years ago

FractalPolarity commented 5 years ago

Looks like the problem is present with shiny.semantic slider_input as well as standard shiny sliderInput.

server <- shinyServer(function(input, output) {
router(input, output) slider_ui <- sliderInput("slider", "slider_label", 0 , 10 , 3, 1, 3)
output$slider <- renderUI(slider_ui)
} Above makes whole ui refresh on routing ( even elements outside router_ui() )

I've checked some additional components (numericInput, semantic date_input, actionButton) and it is working fine with them.

krystian8207 commented 4 years ago

@dokato this should be fixed as well

dokato commented 4 years ago

Yeap, this looks fine.