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

Action Button with FontAwesome Icons #24

Open
dfan opened this issue Jul 25, 2016 · 2 comments
Open

Action Button with FontAwesome Icons #24

dfan opened this issue Jul 25, 2016 · 2 comments

Comments

@dfan
Copy link

dfan commented Jul 25, 2016

When declaring a default action button (without the Shiny Sky package), one can add a Font Awesome icon in the following manner: actionButton("action", "Go!", width = "100%", icon("paper-plane"))

However with the Shiny Sky library, the icon disappears

@oganm
Copy link
Contributor

oganm commented Jun 19, 2018

this happens because shinysky exports its own actionButton which masks shiny's action Button and causes unexpected behavior in apps. This can be solved by running

actionButton = shiny::actionButton

after loading shinysky. It is not particularly good behavior that a shiny extension collides with a base shiny function name though. It breaks themes from shinythemes packages for instance

@carneirogoulart
Copy link

I had the same issue trying to use the busyIndicator function from the package.

I solved it as follows:

shinysky::busyIndicator()
And I didn't need to load shinysky.

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

3 participants