-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello everyone.
I have a problem with Modal Dialog window in Firefox. Maybe it's a bug.
Here's the step to reproduce it:
First, go to http://www.zkoss.org/zkdemo/userguide/#l7
After click "Hello.doModal" button, a modal dialog appears. See picture
http://www.loadmypicture.com/getimage.cgi?id=201001071040596065.png&full=1
Now, I drag modal dialog towards the address bar of Firefox. See picture
http://www.loadmypicture.com/getimage.cgi?id=201001071048264593.png&full=1
The title of modal dialog is hided. And I have no way to drag it back.
It doesn't happen in IE (I use IE8). Only happens in FireFox.
And it seams to happen to all window that can dragable.
I am waiting for your help. Thanks very much.
Best regards.
Yes, it is a bug
you can post to here
we will track it
This is a feature
because user may be want the window that can dragged out the browser
we provide a customization such as override the javascript
<zk> <script defer="true"><![CDATA[ zk.Draggable.prototype.snap_ = function (p) { p[1] = p[1] < 0 ? 0: p[1]; return p } ]]></script> Please check the doModal windows will not dragged out the browser top <window title="Modal Dialog" border="normal"> <button label="Hello.doModal"> <attribute name="onClick">{ final Window win = (Window) Executions.createComponents( "/userguide/layout/hello-template.zul", null, null); win.setMaximizable(true); win.doModal(); }</attribute> </button> </window> </zk>
you can refer to here
Asked: 2010-01-06 21:54:33 +0800
Seen: 406 times
Last updated: Jan 08 '10