Skip to content

f7Button with link not working #120

@bwganblack

Description

@bwganblack

An f7Button with an external link doesn't seem to work. There is no external parameter for this function as there is for f7Link, but looking at the function code, external should be added to the button class automatically. Example below, but the example code for f7Segment has the same problem; the green buttons in the top two rows of that example app have src links which don't work. Am I missing something simple? Thanks.

if(interactive()){
  library(shiny)
  library(shinyMobile)
  
  shiny::shinyApp(
    ui = f7Page(
      title = "Links and Buttons",
      f7SingleLayout(
        navbar = f7Navbar(title = "f7Link and f7Button"),
        f7Link(label = "Google", src = "https://www.google.com"), #doesn't work
        f7Link(label = "Google external", src = "https://www.google.com", external = TRUE), #works
        f7Button(label = "Google button", src = "https://www.google.com") #doesn't work
      )
    ),
    server = function(input, output) {}
  )
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions