Currently, the element's height and width is not automatically taken into consideration when rendering. This result in overlay rendering issues. Please see screenshot. One possible fix is to automatically limit the window's height and width, should they be larger than element's.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ynx created an issue. See original summary.

ynx’s picture

Attaching screenshots for "before" and "after", and the proposed patch.

ynx’s picture

Noticed that setting winHeight to bodyHeight is actually not desired on some use cases, so I am no longer requesting that. Please only use ctools-resize_to_body-2568347-2.patch.