Disable a view when a popup is opened

Help please!

How can I disable a view or specific buttons when a popup is opened?

Hey @Namya

Multiple options:

  1. Disable the actual components, on the same trigger which opens popup.
  2. Apply an overlay with higher Z-index so that it falls between the view and the popup. That will block the clicks.
  3. When invoking popup, keep draggable = False, resizable = False, modal = True, overlayDismiss = False

Thanks!!!

By using a binding. Don't use a script to do this since you will likely get out of sync and end up with disabled components when they should have been enabled

But, as Transistor said, easiest most foolproof way is to use modal

Making the popup modal will prevent access to the calling view's input components until the popup is closed.