Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Tooltips are enabled in UI, at admin/appearance/settings/mytheme
:
- Enable tooltips is checked.
- Convert simple form descriptions is checked.
- Trigger is set to "hover" and "focus"
In mytheme.info
, tooltips are enabled:
scripts[] = 'bootstrap/js/tooltip.js'
Form descriptions are present in the form element wrapper:
<div class="form-type-textfield form-item-myfield form-item form-group" data-toggle="tooltip" title="" data-original-title="Some form element description.">
<label for="edit-myfield">My field </label>
<input class="form-control form-text" type="text" id="edit-myfield" name="myfield" value="" size="60" maxlength="128">
</div>
But the tooltip is not working.
Is there something that I missed?
Comments
Comment #1
claudiu.cristeaComment #2
claudiu.cristeaComment #3
markhalliwellI'm not entirely sure it wouldn't be showing up. It's definitely being processed as evident by the
data-original-title
being set. Would it maybe have anything to do with the JS engine halting? Maybe #2162165: Anchor JS errors: "Cannot read property 'top' of null" and "Cannot call method 'createDocumentFragment' of null" fixed this too?Comment #4
markhalliwell