Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exempt some elements from Modalness

My application has modal dialogs in it, and also a feedback widget that sticks off the side of the page at all times. I'd like users to be able to click the feedback widget without canceling the modal dialog. In effect, I'd like to exempt the feedback widget from the modal rules of the app.

What's the best way to achieve this? I'm using GWT 2.3, and I'm happy to drill down into whatever layer of abstraction I need to.

like image 495
Riley Lark Avatar asked Apr 03 '26 01:04

Riley Lark


1 Answers

"Modal" popups actually don't behave well in GWT; that's why setGlassEnabled has been added. If you use setGlassEnabled, you can then simply set a higher z-index to any element that you want to appear on top of the glass pane, it's just CSS.

like image 137
Thomas Broyer Avatar answered Apr 04 '26 14:04

Thomas Broyer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!