#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 follow-up: 2 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
comment:2 follow-up: 3 Changed 9 years ago by
Replying to scott.gonzalez:
Use the
appendTo
option.
I have tried appendTo option, but it works exactly the same way.
comment:3 Changed 9 years ago by
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.
Use the
appendTo
option.