Possible to close a popup when the user clicks elsewhere?

  • 1
  • Question
  • Updated 3 years ago
We have a large amount of data, so page loads can take a while. Since the page in question is a default landing page, people sometimes want to skip it and go to another page/tab.

Is there a way, perhaps though a snippet, that can detect when a user clicks outside of the popup that will close the popup and allow them to click on another tab?
Photo of Andrew Hess

Andrew Hess

  • 262 Points 250 badge 2x thumb
  • hopeful

Posted 3 years ago

  • 1
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,240 Points 5k badge 2x thumb
Hi Andrew~

Can you provide more detail about the popup you are wanting to close? Is it a Skuid popup you created that has components in it or is it a popup that appears from the action framework when you select "show message and block UI"? 

Thanks!
Karen