Skip to main content

Search and Top Navigation

#8490 closed bug (worksforme)

Opened August 11, 2012 03:40PM UTC

Closed August 13, 2012 06:15PM UTC

Last modified August 13, 2012 08:33PM UTC

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/

Attachments (0)
Change History (5)

Changed August 13, 2012 02:28AM UTC by scottgonzalez comment:1

owner: → 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.

Changed August 13, 2012 05:00PM UTC by philk comment:2

status: pendingnew

Test case reduced to loading jQuery and jQuery UI. Theme is not required to show the flaw.

http://jsfiddle.net/j6TQm/8/

Changed August 13, 2012 06:15PM UTC by scottgonzalez comment:3

resolution: → worksforme
status: newclosed

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

Changed August 13, 2012 08:30PM UTC by philk comment:4

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

Changed August 13, 2012 08:33PM UTC by scottgonzalez comment:5

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.