1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 05:28:24 +01:00

Manually disable the offcanvas behaviors in our first example (#33444)

This commit is contained in:
Mark Otto 2021-03-23 09:59:14 -07:00 committed by GitHub
parent e2460ba2f8
commit 6c2ff8d371
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -447,7 +447,7 @@ The animation effect of this component is dependent on the <code>prefers-reduced
<h3 id="offcanvas-components">Offcanvas components</h3>
<p>Below is an offcanvas example that is shown by default (via <code>.show</code> on <code>.offcanvas</code>). Offcanvas includes support for a header with a close button and an optional body class for some initial <code>padding</code>. We suggest that you include offcanvas headers with dismiss actions whenever possible, or provide an explicit dismiss action.</p>
<div class="bd-example bd-example-offcanvas p-0 bg-light overflow-hidden">
<div class="offcanvas offcanvas-start show" tabindex="-1" id="offcanvas" aria-labelledby="offcanvasLabel" data-bs-backdrop="false" data-bs-scroll="true">
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvas" aria-labelledby="offcanvasLabel">
<div class="offcanvas-header">
<h5 class="offcanvas-title" id="offcanvasLabel">Offcanvas</h5>
<button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas" aria-label="Close"></button>