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

5.2.0 Regression when recreating disposed tooltips using `title`

Created by: tagliala

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

Hi,

apologies if this is a duplicate, I've tried to search without success and I've also tested against the main branch on my local machine.

The instructions to reproduce may not make sense, but I've noticed a regression with a stimulus controller that an application uses for tooltips

Steps to reproduce are:

  1. Create a tooltip
  2. Dispose the tooltip
  3. Create the tooltip again on the same element
  4. Hover on the link

Git bisect: 328f7230 #35456

Reduced test cases

✅ Working (5.1.3): https://jsfiddle.net/tagliala/r263x1bt/12/ ❌ Broken (5.2.0): https://jsfiddle.net/tagliala/r263x1bt/18/

More complex use case: https://github.com/diowa/ruby3-rails7-bootstrap-heroku/compare/main...test-bootstrap-tooltip

Workaround

Use data-bs-title ✅ Working (5.2.0 using data-bs-title): https://jsfiddle.net/tagliala/r263x1bt/19/

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

macOS

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

Chrome, Safari, Firefox

What version of Bootstrap are you using?

5.2.0

Assignee
Assign to
Time tracking