Bug #93790
closedSeveral tooltips not showing since Bootstap 5 integration
100%
Description
Since the integration of Bootstrap 5, several tooltips do not show up any more, as Bootstrap 5 either requires a title
or a data-bs-title
attribute on the HTML element (see https://getbootstrap.com/docs/5.0/components/tooltips/#options)
One example is BackendUtility::getRecordToolTip()
, where previously a data-title
attribute was responsible for the tooltip content. The data-title
attribute must be changed to data-bs-title
.
Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68553
Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68553
Updated by Torben Hansen over 3 years ago
Well, this is not as easy as I thought. When data-bs-title
is provided but an empty string, the Bootstrap tooltip component wont initialize and throws a JavaScript error (see https://core.b13.com/typo3-core/typo3.cms/-/jobs/122177). Obviously this does only occur, when data-bs-title
is empty, but not when the title
attribute is empty. So maybe we switch to use the title
attribute where possible.
Updated by Gerrit Code Review over 3 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68553
Updated by Gerrit Code Review over 3 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/68553
Updated by Torben Hansen over 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f7e110f43363e61cd9405180dd42f6767db6add3.