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
Hello, I noticed that href argument from notificationItem() does not work. When clicked, it simply opens a new browser tab with a # sign appended. This looks very similar to this issue. See reprex below.
if (interactive()) {
library(shiny)
library(bs4Dash)
shinyApp(
ui = dashboardPage(
header = dashboardHeader(
leftUi = tagList(
bs4Dash::dropdownMenu(type = "notifications", badgeStatus = NULL,
icon = icon("envelope", lib = "font-awesome"),
headerText = "Contact us !",
bs4Dash::notificationItem(text = "Click here to reach us",
href = "www.google.com", # defined in utils_helpers.R
icon = icon("envelope", lib = "font-awesome"), status = "info")
)
)
),
sidebar = dashboardSidebar(),
controlbar = dashboardControlbar(),
footer = dashboardFooter(),
title = "dropdownMenu",
body = dashboardBody()
),
server = function(input, output) {
}
)
}
Thanks for this great package !
The text was updated successfully, but these errors were encountered:
Hello, I noticed that
href
argument fromnotificationItem()
does not work. When clicked, it simply opens a new browser tab with a#
sign appended. This looks very similar to this issue. See reprex below.Thanks for this great package !
The text was updated successfully, but these errors were encountered: