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
  • #35968
Closed
Open
Issue created Mar 08, 2022 by Julien Déramond@julien-deramondContributor3 of 3 checklist items completed3/3 checklist items

Few regressions on dropdowns

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

Some regressions can be observed apparently after https://github.com/twbs/bootstrap/commit/bb7664db0aea2dddbc637992d2d0e78632dc2e68.

  1. The new feature of centered dropdowns and centered dropup doesn't work anymore (see https://github.com/twbs/bootstrap/commit/c0f30366ace5f607e0b70a0e0034d2e8254bad9b). The menus are not centered:
    • Centered: not centered
    • Dropup centered: not centered and points to the bottom

Note: those previews are based on https://github.com/twbs/bootstrap/pull/35948 after the adding of the missing .dropup.

  1. Escape event is propagated to the parent element (e.g. Offcanvas in https://twbs-bootstrap.netlify.app/docs/5.1/components/offcanvas/#live-demo):
  • Go to https://twbs-bootstrap.netlify.app/docs/5.1/components/offcanvas/#live-demo
  • Click on link with href button
  • Press Tab until you get focus on dropdown
  • Open it with Enter
  • Press Esc: the Offcanvas closes itself and shouldn't; only the dropdown should collapse

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

Windows, macOS

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

Chrome, Firefox

What version of Bootstrap are you using?

v5.2.0 (current main branch)

Assignee
Assign to
Time tracking