You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having tested actionButtonStyled and updateActionButtonStyled within a bslib page_navbar through a custom Shiny module, assigning types through updateActionButtonStyled does not work. Buttons also render incorrectly:
The text was updated successfully, but these errors were encountered:
gtducati
changed the title
Incompatible with BSLIB page_navbar
actionButtonStyled and updateActionButtonStyled Incompatible with BSLIB page_navbar
Mar 9, 2025
gtducati
changed the title
actionButtonStyled and updateActionButtonStyled Incompatible with BSLIB page_navbar
actionButtonStyled and updateActionButtonStyled incompatible with bslib::page_navbar
Mar 9, 2025
The bug was caused due to a legacy shiny issue. Old version of shiny double-resolves the html dependency, resulting in same css & js files to be loaded twice. The solution was to set the html dependency as attributes, and shiny will resolve the dependency automatically (once). This is why using shiny layout works.
However, this approach is not supported by bslib. Since shiny seems to have fixed the double-resolve issues, use_shiny_dipsaus no longer needs to set attributes (using tagList instead)
@gtducati could you try to install the dev version of dipsaus (version >= 0.3.0.9000) and check whether the issue is fixed? I'll upload to CRAN upon confirmation.
Having tested actionButtonStyled and updateActionButtonStyled within a bslib page_navbar through a custom Shiny module, assigning types through updateActionButtonStyled does not work. Buttons also render incorrectly:
The text was updated successfully, but these errors were encountered: