PDA

View Full Version : Dialog Drag Bug



Bobafart
14 Mar 2007, 12:51 PM
Can someone test out a bug to see if you also have it occur in your browser?

Click on a headline in the list below and then try to drag the dialog window:
http://gabbr.com/sandbox/yahooui/yahoodialog11.php

I am using FF 2.0 and the dialog jitters and doesn't allow you to drag it in the y axis.

tryanDLS
14 Mar 2007, 1:58 PM
Seems to drag in any direction for me in FF - I do see the jittery thing. This is probably just rendering lag trying to redo all the dialog components. Try setting proxyDrag:true on your dialog.

KimH
14 Mar 2007, 2:22 PM
I see the problem too... the dialog can't be dragged below the height of the viewport. You can see this if you scroll the page up to the top after the dialog is shown.

Bobafart
14 Mar 2007, 4:27 PM
I set the proxyDrag:true and no difference

Head here: http://www.gabbr.com

click on a headline in the middle of the page, mess around with the dialog box, drag it around, etc.

Then scroll to the bottom of the page and click on a news headline from "entertainment" or "opinion" and try to drag around the dialog box.

it locks in the y-axis but is draggable in the x-axis.

Animal
15 Mar 2007, 2:01 AM
It's a problem with the "constraintoviewport" config option. Try creating the dialog with that set to false.

jack.slocum
19 Mar 2007, 6:04 AM
constraintoviewport defaults to true. You would want to set it to false.

The jittery stuff is due to YUI drag drop (now Ext.dd) and is fixed for the next rev.