mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-16 02:24:19 +02:00
fix(docs): update docs to match the newest modal-open removal (#34239)
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -827,7 +827,7 @@ Another override is the option to pop up a modal that covers the user viewport,
|
|||||||
|
|
||||||
## Usage
|
## 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.
|
The modal plugin toggles your hidden content on demand, via data attributes or JavaScript. It also overrides default scrolling behavior and generates a `.modal-backdrop` to provide a click area for dismissing shown modals when clicking outside the modal.
|
||||||
|
|
||||||
### Via data attributes
|
### Via data attributes
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user