Opened 13 years ago

Closed 13 years ago

Last modified 9 years ago

#5137 closed enhancement (wontfix)

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:


Dialog doesn't reposition when viewport size is changed.

See forum:

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

Change History (5)

comment:1 Changed 13 years ago by Scott González

Resolution: wontfix
Status: newclosed

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

comment:2 Changed 13 years ago by Rwhitbeck

Copy code

  1. $( window ).resize(function() {
  2. $( "#dialog" ).dialog( "option", "position", $( "#dialog" ).dialog( "option", "position" ) );
  3. });

comment:3 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

comment:4 Changed 9 years ago by Valentin Plamadeala

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

comment:5 Changed 9 years ago by Scott González

Milestone: none

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

Note: See TracTickets for help on using tickets.