Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.2.0 Regression when recreating disposed tooltips using title #36743

Closed
3 tasks done
tagliala opened this issue Jul 15, 2022 · 1 comment · Fixed by #36751
Closed
3 tasks done

5.2.0 Regression when recreating disposed tooltips using title #36743

tagliala opened this issue Jul 15, 2022 · 1 comment · Fixed by #36751

Comments

@tagliala
Copy link
Contributor

tagliala commented Jul 15, 2022

Prerequisites

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: 328f723 #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: diowa/ruby3-rails7-bootstrap-heroku@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

@tagliala
Copy link
Contributor Author

tagliala commented Jul 16, 2022

Git bisect: 328f723 #35456

A workaround is to use data-bs-title

@tagliala tagliala changed the title 5.2.0 Regression when recreating disposed tooltips 5.2.0 Regression when recreating disposed tooltips using title Jul 16, 2022
@mdo mdo added this to To do in v5.2.0-stable via automation Jul 18, 2022
@mdo mdo removed this from To do in v5.2.0-stable Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants