1 Reply Latest reply on Jul 22, 2011 3:34 PM by p_kris

    Hide popupPanel when focus is lost

    p_kris

      Hi all,

       

      How can I hide popupPanel when focus is lost?

      Where should I put #{rich:component('popupPanelId')}.hide() ?

       

      Thanks,

      Praneeth

        • 1. Re: Hide popupPanel when focus is lost
          p_kris

          When modal="true" then onmaskclick="#{rich:component('popupPanelId')}.hide()" closes the popup panel when focus is lost (when you click anywhere other that popup panel).

           

          However, this doesn't work when modal="false"