Opened 15 years ago
Closed 14 years ago
#2848 closed enhancement (fixed)
Fixed positioning for dialogs
Reported by: | hatapitk | Owned by: | Scott González |
---|---|---|---|
Priority: | minor | Milestone: | 1.8 |
Component: | ui.dialog | Version: | 1.5b4 |
Keywords: | dialog position fixed | Cc: | |
Blocked by: | Blocking: |
Description
It would be nice to have an option to use fixed positioning for dialogs. This is useful for non-modal dialogs that should remain within viewport and be accessible even when page is scrolled.
Change History (8)
comment:1 Changed 15 years ago by
Component: | ui.core → ui.dialog |
---|---|
Owner: | paul deleted |
Version: | → 1.5b4 |
comment:2 Changed 15 years ago by
Owner: | set to scott.gonzalez |
---|---|
Status: | new → assigned |
comment:3 Changed 15 years ago by
Milestone: | → 1.6 |
---|
comment:4 follow-up: 5 Changed 15 years ago by
comment:5 Changed 15 years ago by
Replying to patrick:
works great for me
this works only if the dialogs wont be resized! sry didnt realise this first!
but this could also be handled with the stop-function which is called at the end of the resize-operation:
$(document).ready(function() { $('#myDialog').dialog({dialogClass: "flora"}); $('.flora.ui-dialog').css({position:"fixed"}); $(".ui-resizable").stop(function() { $(".flora.ui-dialog").css({position:"fixed"}); }); )};
comment:6 Changed 15 years ago by
Milestone: | 1.6 → TBD |
---|
comment:7 Changed 14 years ago by
Milestone: | TBD → 1.next |
---|
comment:8 Changed 14 years ago by
Milestone: | 1.next → 1.8 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Hey!
Yep it would be nice indeed :D -- so while its not implemented yet, this might be a simple solution:
works great for me
best regards, patrick