Skip to main content

Search and Top Navigation

#15340 new bug ()

Opened May 17, 2019 05:16AM UTC

Last modified May 17, 2019 07:35AM UTC

maxHeight option works like height option

Reported by: 1der1 Owned by:
Priority: minor Milestone: none
Component: ui.dialog Version: 1.12.1
Keywords: Cc:
Blocked by: Blocking:
Description

maxHeight works **fine** when used for dialog **init**.

However, the **setter option**

$( ".selector" ).dialog( "option", "maxHeight", 600 );

**works like the height option**:

The height changes instantly, but maxHeight of the dialog is unchanged.

Attachments (0)
Change History (1)

Changed May 17, 2019 07:35AM UTC by rjollos comment:1

description: maxHeight works **fine** when used for dialog **init**. \ \ However, the **setter option** \ $( ".selector" ).dialog( "option", "maxHeight", 600 ); \ **works like the height option**: \ \ The height changes instantly, but maxHeight of the dialog is unchanged. \ maxHeight works **fine** when used for dialog **init**. \ \ However, the **setter option** \ {{{#!js \ $( ".selector" ).dialog( "option", "maxHeight", 600 ); \ }}} \ **works like the height option**: \ \ The height changes instantly, but maxHeight of the dialog is unchanged. \