Skip to main content

Search and Top Navigation

#5570 closed bug (worksforme)

Opened April 30, 2010 12:56PM UTC

Closed October 14, 2010 12:50PM UTC

Last modified October 11, 2012 09:15PM UTC

Problem when dialog are resizable and the content overfow

Reported by: Daazku Owned by:
Priority: minor Milestone:
Component: ui.dialog Version: 1.8
Keywords: Cc:
Blocked by: Blocking:
Description

The bottom scrollbar is partially hidden because the min-height of the content isn't small enough.

To quickly fix that i just do

@@ -6009,7 +6012,8 @@
 
         this.element
             .css(options.height === 'auto' ? {
-                    minHeight: Math.max(options.minHeight - nonContentHeight, 0),
+                    //We add remove 16px to handle scrollbar
+                    minHeight: Math.max(options.minHeight - nonContentHeight - 16, 0),
                     height: 'auto'
                 } : {
                     minHeight: 0,
Attachments (0)
Change History (4)

Changed April 30, 2010 12:57PM UTC by Daazku comment:1

The issue is not ui.core but ui.dialog

My bad.

Changed July 30, 2010 11:37AM UTC by jzaefferer comment:2

component: ui.coreui.dialog

Changed October 14, 2010 12:50PM UTC by scottgonzalez comment:3

resolution: → worksforme
status: newclosed

Works fine for me in 1.8.0 and current master. Tested in Chrome dev, Firefox 3.6, IE 6.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:4

milestone: TBD

Milestone TBD deleted