0

Is there any properite or function that I could use on my Dojo dialog to block everything that is behind the dialog. Block all events ....

I've searched the documentaion but haven't found anything useful.

Let's say when I am scrolling in the dialog I don't want the whole page to be scrolled...

Jacob
  • 3,580
  • 22
  • 82
  • 146
  • You can set add a style property to your body tag when your dialog appears, like "overflow:hide". – Philippe Aug 29 '13 at 18:55
  • Uhm, `dijit/Dialog` seems to work fine for me, I can't click on anything behind the dialog when it is up... Or is it just the scrolling which is a problem? – Darien Aug 29 '13 at 23:23
  • It just the scrolling... – Jacob Aug 30 '13 at 05:33
  • I know it's jquery but maybe you can change it to javascript : http://stackoverflow.com/questions/4887332/disable-browser-scrolling-while-jquery-ui-modal-dialog-is-open – MiBrock Aug 30 '13 at 08:20

0 Answers0