Nesting uiOutput and renderUI with shiny.fluent components breaks in some scenarios and doesn’t re-render correctly. The issue was broken down to Stack being rendered using renderUI and containing uiOutput inside of it.
The recording describes the behaviour:
Change the reactive which will be shown in a card
Change reactive which forces the card to render
Change the reactive which is shown in the card - works properly
Change reactive which forces the card to render - react rendering mechanism works and shiny doesn’t. (NOTE: rendering using uiOutput + renderUI works if content of the card is static or doesn’t contain any shiny.fluent components inside renderUI e.g. plain text instead of Text
Nesting
uiOutput
andrenderUI
withshiny.fluent
components breaks in some scenarios and doesn’t re-render correctly. The issue was broken down toStack
being rendered usingrenderUI
and containinguiOutput
inside of it.The recording describes the behaviour:
uiOutput
+renderUI
works if content of the card is static or doesn’t contain anyshiny.fluent
components insiderenderUI
e.g. plain text instead ofText
Video of the issue
https://user-images.githubusercontent.com/37193264/141962049-263d4505-6f11-4469-966a-210968181e6c.mov
Reproducible example