diff options
| author | Florian Lacreuse <[email protected]> | 2022-02-03 10:43:11 +0100 |
|---|---|---|
| committer | GeoSot <[email protected]> | 2022-02-03 18:20:47 +0200 |
| commit | 957c1dd6eaacc7a8b17a68ecb78b3134d449b5c1 (patch) | |
| tree | 6e965f73f79653e00c89e03a964cdb6a10119daa | |
| parent | a5483a8a96eaa88b4da7e432e0b925d0f3943dc3 (diff) | |
| download | bootstrap-957c1dd6eaacc7a8b17a68ecb78b3134d449b5c1.tar.xz bootstrap-957c1dd6eaacc7a8b17a68ecb78b3134d449b5c1.zip | |
Fix dropdown docs about autoclose and esc key.
| -rw-r--r-- | site/content/docs/5.1/components/dropdowns.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/site/content/docs/5.1/components/dropdowns.md b/site/content/docs/5.1/components/dropdowns.md index 7f2e2d42d..f5dcff4cc 100644 --- a/site/content/docs/5.1/components/dropdowns.md +++ b/site/content/docs/5.1/components/dropdowns.md @@ -1065,10 +1065,11 @@ Options can be passed via data attributes or JavaScript. For data attributes, ap <p>Configure the auto close behavior of the dropdown:</p> <ul> <li><code>true</code> - the dropdown will be closed by clicking outside or inside the dropdown menu.</li> - <li><code>false</code> - the dropdown will be closed by clicking the toggle button and manually calling <code>hide</code> or <code>toggle</code> method. (Also will not be closed by pressing <kbd>esc</kbd> key)</li> + <li><code>false</code> - the dropdown will be closed by clicking the toggle button and manually calling <code>hide</code> or <code>toggle</code> method.</li> <li><code>'inside'</code> - the dropdown will be closed (only) by clicking inside the dropdown menu.</li> <li><code>'outside'</code> - the dropdown will be closed (only) by clicking outside the dropdown menu.</li> </ul> + <p>The dropdown can always be closed with the <kbd>ESC</kbd> key.</p> </td> </tr> <tr> |
