Ticket #3731 (closed bug: fixed)
dialog window can't be closed
| Reported by: | dypa | Owned by: | |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.7 |
| Component: | ui.dialog | Version: | 1.6rc4 |
| Keywords: | дибилы :) | Cc: | |
| Blocking: | Blocked by: |
Description
- open the page http://ui.jquery.com/demos/dialog
- drag dialog window to the top of the page while dialog will not be out side of the window
the same problem when dialog window is draged out of the body width && height (apperes scrool)
sorry for my bad english
Attachments
Change History
comment:1 Changed 4 years ago by scott.gonzalez
- Milestone changed from TBD to 1.6
Suggested solution:
on drag stop:
- if the top of the dialog is above the top of the document, move the top to 0
- if the right side of the dialog is to the left of the left side of the document, move the left to 0
- if the left side of the dialog is to the right of the right side of the document, move the left to document width - dialog width
I'm not sure the last rule is needed as the document will normally stretch if the dialog is dragged to the right.
Note: See
TracTickets for help on using
tickets.


