diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index 1b653d17c0..0e2de1d61b 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -394,6 +394,9 @@ $('#exampleModal').on('show.bs.modal', function (event) { }) {% endhighlight %} +

Modals with dynamic heights

+

If the height of a modal changes while it is open, you should call $('#myModal').data('bs.modal').handleUpdate() to readjust the modal's position in case a scrollbar appears.

+

Usage

The modal plugin toggles your hidden content on demand, via data attributes or JavaScript. It also adds .modal-open to the <body> to override default scrolling behavior and generates a .modal-backdrop to provide a click area for dismissing shown modals when clicking outside the modal.