Opened 10 years ago

Last modified 10 years ago

#10803 closed enhancement

ContentPane resize ignores scrollbar changes. — at Initial Version

Reported by: Phil DeJarnett Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:


This may not be fixable, but if the height of the information in a ContentPane? is changed enough to cause scrollbars to appear or disappear, the ContentPane? is not resized.

This manifests itself when a ContentPane? includes a long TitlePane? that can be collapsed or shown. If the Window is at a height where opening or closing the TitlePane? causes the scrollbar to appear or disappear, then the internal content of the parent ContentPane? is not correctly resized, leading to items displaying off the side or having too much gap. (An example is a TitlePane? that contains a DataGrid?.)

One possible (hackish) solution is for TitlePane? to call parent.resize() at the end of it's animation. At least for that Widget, which is expected to have a variable height, changes in the scrollbar would be detected.

Change History (0)

Note: See TracTickets for help on using tickets.