0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01: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:
Szymon Wiszczuk 2021-06-14 07:43:35 +02:00 committed by GitHub
parent f826331458
commit 7951eedbc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -827,7 +827,7 @@ Another override is the option to pop up a modal that covers the user viewport,
## 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