Appsilon / shiny.emptystate

Empty state components for Shiny
https://appsilon.github.io/shiny.emptystate/
27 stars 2 forks source link

[Bug]: The Show and Hide methods are stacked during each calls #16

Closed vedhav closed 2 years ago

vedhav commented 2 years ago

Guidelines

Project Version

0.0.0.9000

Platform and OS Version

macOS M2 13.0.1

Existing Issues

No response

What happened?

While running the example in the main readme and clicking the Show empty state! multiple times the Hide empty state! does not work until the number of clicks exceeds the # of clicks made on the Show empty state!

Steps to reproduce

  1. Run the example shiny app from the Readme
  2. Click Show empty state! 2 or more times
  3. Now that the empty state is shown, Click the Hide empty state! to try to hide it.
  4. The empty state is not hidden until you click the Hide empty state! multiple times

Expected behavior

Every call of the show() method should show the empty state UI and every call of the hide() method should hide the empty state UI

Attachments

No response

Screenshots or Videos

No response

Additional Information

No response

vedhav commented 2 years ago

Closing because it's already added to issues #15