bs4Dash icon indicating copy to clipboard operation
bs4Dash copied to clipboard

Dropdown-menu mobile view opens to right instead of left

Open HugoGit39 opened this issue 1 year ago • 1 comments

Hi

the dropwdown-menu with notifications opens at the right side on mobile outisde the view in stead of right. With Shinydashboard it does opens at the left:

library(shiny)
library(bs4Dash)

ui <- dashboardPage(
  dashboardHeader(title = "My Dashboard",
                  rightUi = (
                    dropdownMenu(type = "notifications",
                                 notificationItem(
                                   text = "5 new users today",
                                   icon("users")
                                 ),
                                 notificationItem(
                                   text = "12 items delivered",
                                   icon("truck"),
                                   status = "success"
                                 ),
                                 notificationItem(
                                   text = "Server load at 86%",
                                   icon = icon("exclamation-triangle"),
                                   status = "warning"
                                 )
                    )
                  )
  ),
  dashboardSidebar(),
  dashboardBody(
  )
)

server <- function(input, output) {
  
}

shinyApp(ui, server)

bs4dash

Shinydashboard

HugoGit39 avatar Feb 10 '23 22:02 HugoGit39