Search and Top Navigation
#9065 closed bug (duplicate)
Opened February 06, 2013 04:20PM UTC
Closed February 06, 2013 04:25PM UTC
Dialog _size() and content sizing reset
| Reported by: | aNt1X | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | none |
| Component: | ui.dialog | Version: | 1.10.0 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
Hi,
inside the _size() function you perform a content sizing reset like this:
// Reset content sizing
this.element.show().css({
width: "auto",
minHeight: 0,
maxHeight: "none",
height: 0
});
So, if you open a new dialog, you will have the width property set to Auto.
But as soon as the user perform a resize of the dialog, because of the resizeAlso property, the content will be resized too, overwriting the AUTO width value.
The two behavaiours seems to collide a little.
The main problem i have, is when the content is an iframe, because the 'auto' width of iframe does not work.
I think it should be better to start with a width equal to the dialog width.
This would be more coherent with the following behaviours, and the resize will be ok.
What do u think?
Attachments (0)
Change History (1)
Changed February 06, 2013 04:25PM UTC by comment:1
| resolution: | → duplicate |
|---|---|
| status: | new → closed |
Duplicate of #4066.