diff options
author | Florian Lacreuse <florian.lacreuse@kobalt.fr> | 2022-02-03 12:43:11 +0300 |
---|---|---|
committer | GeoSot <geo.sotis@gmail.com> | 2022-02-03 19:20:47 +0300 |
commit | 957c1dd6eaacc7a8b17a68ecb78b3134d449b5c1 (patch) | |
tree | 6e965f73f79653e00c89e03a964cdb6a10119daa /site | |
parent | a5483a8a96eaa88b4da7e432e0b925d0f3943dc3 (diff) |
Fix dropdown docs about autoclose and esc key.
Diffstat (limited to 'site')
-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 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> |