Opened 12 years ago
Closed 11 years ago
#7496 closed bug (fixed)
if dialog height is larger than viewport height, dialog is positioned at bottom of viewport
Reported by: | gpasat | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.dialog | Version: | 1.8.13 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This can be tested here as well: http://jqueryui.com/demos/dialog/ Make the browser window height smaller than the dialog would be, then click to open dialog, and dialog will position at the bottom of your window, so you would have to scroll up to see the top. Dialog should be positioned at top of window if its larger then the window. I tried setting position of the dialog after init at top if its larger than the window, but it was ignored.
Change History (11)
comment:1 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 Changed 12 years ago by
This does not work, I checked again in Firefox 3.6, Chrome 12 and IE 8.
When going here: http://jqueryui.com/demos/dialog. Re-size the browser to be smaller in height than the example dialog popup, then scroll the view port to the top of the Example buttons on the right. Then click "Modal message". You will get the modal popup aligned to the bottom of the browser with the top dialog title-bar cutoff.
comment:3 Changed 12 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
comment:4 Changed 12 years ago by
Status: | reopened → open |
---|
comment:6 Changed 11 years ago by
Milestone: | 1.9.0 → 1.10.0 |
---|
comment:8 Changed 11 years ago by
Resolution: | → worksforme |
---|---|
Status: | open → closed |
I can also no longer reproduce this. If someone can get a test case going on jsfiddle or JSBin or provide a clear set of reproduction steps, we'll go after it. Just reply to this ticket. For now, let's close as worksforme.
comment:9 Changed 11 years ago by
I also couldn't recreate this. I tried with the version this issue was created with (1.8.13) because I was curious if this was something that was fixed and couldn't recreate the problem - http://jsfiddle.net/tj_vantoll/kJcEg/2/.
comment:10 Changed 11 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Here's the fiddle that shows the problem: http://jsfiddle.net/kJcEg/3/
This was fixed in 1.9.0.
comment:11 Changed 11 years ago by
Milestone: | 1.10.0 → 1.9.0 |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
This is working properly for me, the dialog is shifted down until the dialog's titlebar is fully visible.