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

f7Button with link not working #120

Closed
bwganblack opened this issue Jun 23, 2020 · 0 comments
Closed

f7Button with link not working #120

bwganblack opened this issue Jun 23, 2020 · 0 comments

Comments

@bwganblack
Copy link

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) {}
  )
}
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