]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix dropdown docs about autoclose and esc key.
authorFlorian Lacreuse <florian.lacreuse@kobalt.fr>
Thu, 3 Feb 2022 09:43:11 +0000 (10:43 +0100)
committerGeoSot <geo.sotis@gmail.com>
Thu, 3 Feb 2022 16:20:47 +0000 (18:20 +0200)
site/content/docs/5.1/components/dropdowns.md

index 7f2e2d42ded16f9e11ed0a0e860858bde1f391dc..f5dcff4ccdec4fc9768e5f402ca3575dc45dfd7d 100644 (file)
@@ -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>