Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#8490 closed bug (worksforme)

Dialog re-opens at incorrect position.

Reported by: philk Owned by: philk
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.8.22
Keywords: Cc:
Blocked by: Blocking:

Description

User clicks an element to open a dialog which opens centered left/right, top/bottom by default. User drags the dialog. User closes the dialog. User clicks the element again to open the same dialog. The dialog is positioned centered left/right, but incorrectly near the top of the page.

http://jsfiddle.net/j6TQm/6/

Change History (5)

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

Owner: set to philk
Status: newpending

Please reduce the test case down to just loading jQuery and jQuery UI and make sure to include a theme, as it is required.

comment:2 Changed 11 years ago by philk

Status: pendingnew

Test case reduced to loading jQuery and jQuery UI. Theme is not required to show the flaw.
http://jsfiddle.net/j6TQm/8/

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

Resolution: worksforme
Status: newclosed

Actually, the theme is required, and it works: http://jsfiddle.net/j6TQm/9/

comment:4 in reply to:  3 Changed 11 years ago by philk

Replying to scott.gonzalez:

Actually, the theme is required, and it works: http://jsfiddle.net/j6TQm/9/

Thank you Scott. 2 Questions:

  1. Where does it say that a theme is required for this component to function correctly?
  2. What other widgets, components, effects require a theme?

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

It's not well documented on the current site, but that has been addressed in the upcoming API site. Every widget that has a functional CSS file has a requirement on it, the files are named to match the widget.

Note: See TracTickets for help on using tickets.