Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9980 closed bug (notabug)

Dragging wrapped dialog

Reported by: ocassio Owned by:
Priority: minor Milestone: none
Component: ui.dialog Version: 1.10.4
Keywords: Cc:
Blocked by: Blocking:

Description

Wrapped dialog changes his position when dragged. But if body height is higher than dialog's, dragging works fine.

Wrapper CSS:

#wrapper {
 position: absolute;
 background-color: red;
 opacity: 0.5;
 width: 1400px;
 height: 800px;
 overflow-y: scroll;
}

JS:

var $dialog = $("#fff");
$dialog.dialog();
var $wrapper = $("#wrapper");
$dialog.dialog("widget").wrap($wrapper);

Demonstration: http://www.youtube.com/watch?v=KcTcyoxj-NY&feature=youtu.be

Change History (3)

comment:1 Changed 9 years ago by Scott González

Resolution: notabug
Status: newclosed

Use the appendTo option.

comment:2 in reply to:  1 ; Changed 9 years ago by ocassio

Replying to scott.gonzalez:

Use the appendTo option.

I have tried appendTo option, but it works exactly the same way.

Last edited 9 years ago by ocassio (previous) (diff)

comment:3 in reply to:  2 Changed 9 years ago by tj.vantoll

Replying to ocassio:

Replying to scott.gonzalez:

Use the appendTo option.

I have tried appendTo option, but it works exactly the same way.

If you need further help please use the jQuery forums or Stack Overflow.

Note: See TracTickets for help on using tickets.