Skip to main content

Search and Top Navigation

#5137 closed enhancement (wontfix)

Opened February 05, 2010 04:33PM UTC

Closed February 06, 2010 02:30AM UTC

Last modified April 26, 2013 12:01PM UTC

Re-positioning of dialog after resize event

Reported by: Rwhitbeck Owned by:
Priority: minor Milestone: none
Component: ui.dialog Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

Dialog doesn't reposition when viewport size is changed.

See forum: http://forum.jquery.com/topic/re-positioning-of-dialog-after-resize-event

Propose new option to configure dialog to reposition on viewport resize.

Attachments (0)
Change History (5)

Changed February 06, 2010 02:30AM UTC by scottgonzalez comment:1

resolution: → wontfix
status: newclosed

This is extremely easy to implement yourself and isn't needed by the majority of users.

Changed February 06, 2010 02:33AM UTC by Rwhitbeck comment:2

Copy code

1. $( window ).resize(function() {

2. $( "#dialog" ).dialog( "option", "position", $( "#dialog" ).dialog( "option", "position" ) );

3. });

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:3

milestone: TBD

Milestone TBD deleted

Changed April 26, 2013 11:07AM UTC by omuleanu comment:4

I think this was implemented in the last version, at least that's how it works, don't know if it was made on purpose

http://jsbin.com/ebahup/1/

Changed April 26, 2013 12:01PM UTC by scottgonzalez comment:5

milestone: → none

@omuleanu I'm not sure what you think was implemented. That jsbin example has a custom implemented window resize handler.