Skip to main content

Search and Top Navigation

#2848 closed enhancement (fixed)

Opened May 13, 2008 06:46AM UTC

Closed August 26, 2009 01:42AM UTC

Fixed positioning for dialogs

Reported by: hatapitk Owned by: scottgonzalez
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.

Attachments (0)
Change History (8)

Changed May 24, 2008 07:34PM UTC by paul comment:1

component: ui.coreui.dialog
owner: paul
version: → 1.5b4

Changed May 24, 2008 09:37PM UTC by paul comment:2

owner: → scott.gonzalez
status: newassigned

Changed August 16, 2008 08:20PM UTC by Cloudream comment:3

milestone: → 1.6

Changed August 19, 2008 01:49AM UTC by patrick comment:4

Hey!

Yep it would be nice indeed :D -- so while its not implemented yet, this might be a simple solution:

#!js
$(document).ready(function() {
  $('#myDialog').dialog({dialogClass: "flora"});
  $('.flora.ui-dialog').css({position:"fixed"});
)};

works great for me

best regards, patrick

Changed August 19, 2008 05:03AM UTC by patrick comment:5

Replying to [comment:4 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:

#!js
$(document).ready(function() {
  $('#myDialog').dialog({dialogClass: "flora"});
  $('.flora.ui-dialog').css({position:"fixed"});
  $(".ui-resizable").stop(function() {
    $(".flora.ui-dialog").css({position:"fixed"});
  });
)};

Changed August 25, 2008 01:20PM UTC by scottgonzalez comment:6

milestone: 1.6TBD

Changed May 07, 2009 01:35PM UTC by jzaefferer comment:7

milestone: TBD1.next

Changed August 26, 2009 01:42AM UTC by scottgonzalez comment:8

milestone: 1.next1.8
resolution: → fixed
status: assignedclosed

Fixed in r3132. The problem still exists with resizing, but this is not actually a dialog-related issue (see #3628).