Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 297708

Modal dialog does not adjust to increased inner height (pushes buttons out of reach)

$
0
0

Problem/Motivation

When the height of a modal dialog is increased (e. g. by an opened details element, new ajax-induced content ) beyond the initially calculated max-height then all elements in the overflow area are not accessible anymore.

With a small viewport/screen the problem does not happen.

Steps to reproduce

- Open translate dialog of a view, open some details elements.
- OR use Media library widget with e. g. image_widget_crop.
- OR anything else that has a collapsible element within a modal dialog

Proposed resolution

Trigger resize.dialogResize event when toggle details element in web/core/misc/details-aria.js.

Release notes snippet

Open/Close a detail element triggers resize.dialogResize event to recalculate size/position.


Viewing all articles
Browse latest Browse all 297708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>