daattali / shinyalert

🗯️ Easily create pretty popup messages (modals) in Shiny
https://daattali.com/shiny/shinyalert-demo/
Other
241 stars 26 forks source link

actionbuttons #61

Closed davidrsch closed 2 years ago

davidrsch commented 2 years ago

Hey, I want to add an action button I have added an action button in a shiny alert and when I clicked the shinyalert is closed. I want to keep showing the alert until other button is pressed. Thanks

daattali commented 2 years ago

Unfortunately it seems like this behaviour is due to the underlying javascript library (sweetalerts) - any <button> that is pressed triggers the popup to close. I'm not sure if it's possible to suppress this behaviour.