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:
- Create a tooltip
- Dispose the tooltip
- Create the tooltip again on the same element
- Hover on the link
Git bisect: 328f7230 #35456
Reduced test cases
More complex use case: https://github.com/diowa/ruby3-rails7-bootstrap-heroku/compare/main...test-bootstrap-tooltip
Workaround
Use data-bs-title
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