Tooltips isn't a valid component (and doesn't make sense to be SDC)

Created on 19 April 2024, 8 months ago
Updated 4 July 2024, 6 months ago

Problem/Motivation

Tooltips component (https://git.drupalcode.org/project/radix/-/tree/6.0.x/components/tooltip...) isn't a valid SDC component (see https://www.drupal.org/docs/develop/theming-drupal/using-single-director... โ†’ ) and doesn't make sense in the current form as a component, because it's an enhancement. What might make sense is a component used for tooltip HTML, when html option is set to true (see https://getbootstrap.com/docs/5.3/components/tooltips/#options).

Instead, there should be file src/js/_tooltip.js with the JS and commented-out import of it in src/js/main.script.js, I think.

๐Ÿ› Bug report
Status

Fixed

Version

6.0

Component

Code

Created by

๐Ÿ‡จ๐Ÿ‡ฟCzech Republic milos.kroulik

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024