Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown-menu mobile view opens to right instead of left #336

Open
HugoGit39 opened this issue Feb 10, 2023 · 1 comment
Open

Dropdown-menu mobile view opens to right instead of left #336

HugoGit39 opened this issue Feb 10, 2023 · 1 comment

Comments

@HugoGit39
Copy link

HugoGit39 commented Feb 10, 2023

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
Copy link
Author

@DivadNojnarg Can this also be an enhancement? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant