Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorFlorian Lacreuse <florian.lacreuse@kobalt.fr>2022-02-03 12:43:11 +0300
committerGeoSot <geo.sotis@gmail.com>2022-02-03 19:20:47 +0300
commit957c1dd6eaacc7a8b17a68ecb78b3134d449b5c1 (patch)
tree6e965f73f79653e00c89e03a964cdb6a10119daa /site
parenta5483a8a96eaa88b4da7e432e0b925d0f3943dc3 (diff)
Fix dropdown docs about autoclose and esc key.
Diffstat (limited to 'site')
-rw-r--r--site/content/docs/5.1/components/dropdowns.md3
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 7f2e2d42de..f5dcff4ccd 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>