Loading ...
Sorry, an error occurred while loading the content.

RE: [ydn-javascript] SimpleDialog is invisible when displayed with an active Dialog

Expand Messages
  • Satyen Desai
    Hi, It maybe a function of where you re rendering the Dialog and SimpleDialogs to. [e.g. are you rendering both to document.body or in elements nested further
    Message 1 of 2 , Jul 1 6:10 PM
    • 0 Attachment
      Hi,
      It maybe a function of where you're rendering the Dialog and
      SimpleDialogs to. [e.g. are you rendering both to document.body or in
      elements nested further down].

      The following example may help (which uses the hideMask event as you
      mention to provide nested modality support):

      http://yuiblog.com/sandbox/yui/v252/examples/container/SimpleDialogWithD
      ialog.html

      It renders both dialogs to document.body which is recommended if you're
      using modality [ http://developer.yahoo.com/yui/container/panel/#config
      ], to avoid having to wrestle with stacking contexts.

      Hope that helps,
      Satyen
    Your message has been successfully submitted and would be delivered to recipients shortly.