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
  • #37363
Closed
Open
Issue created Oct 24, 2022 by Administrator@rootContributor3 of 3 checklist items completed3/3 checklist items

Tooltip in Bootstrap v5.2.2 does not follow the 'placement' property; works correctly in v4.6.2 though

Created by: Webbithole

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

Correct in Bootstrap v4.6.2

In Bootstrap v4.6.2 on hover over a button, a tooltip appears underneath that button. In a second button, the tooltip also appears correctly underneath the button. Can be checked here on this CodePen.

Incorrect in Bootstrap v5.2.2

  1. In Bootstrap v5.2.2 however, the tooltip will appear only underneath button 1. The tooltip for the second button will only appear on the right of it.
  2. Also, if you write some text above the buttons, in both cases, the tooltip will now appear on the right of the button. Can be checked on this CodePen.

Reduced test cases

Correct in Bootstrap v4.6.2

https://codepen.io/Webbithole/pen/QWxLmWb

Incorrect in Bootstrap v5.2.2

https://codepen.io/Webbithole/pen/GRGKxNa

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

Windows

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

Chrome

What version of Bootstrap are you using?

5.2.2

Assignee
Assign to
Time tracking