Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #38035
Closed
Open
Issue created Feb 11, 2023 by Administrator@rootContributor3 of 3 checklist items completed3/3 checklist items

BDropdown autoClose false description inaccurate to actual behavior

Created by: VividLemon

Prerequisites

  • I have searched for duplicate or closed issues
  • I have validated any HTML to avoid common problems
  • I have read the contributing guidelines

Describe the issue

The autoClose description listed at https://getbootstrap.com/docs/5.2/components/dropdowns/#auto-close-behavior says

(Also will not be closed by pressing esc key)

However, in the example of https://getbootstrap.com/docs/5.2/components/dropdowns/#auto-close-behavior , the behavior shows that when the dropdown is focused it is closable using esc, however, if focus is lost, it is no longer closable using esc

Which is the correct usage? Should manual close only close on esc when focused, or should it never be closable on esc?

Reduced test cases

Not applicable. Could simply be a docs issue.

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Firefox

What version of Bootstrap are you using?

5.2.x & 5.3.x

Assignee
Assign to
Time tracking