Tooltips do not display

Created on 21 April 2023, about 1 year ago
Updated 24 May 2023, about 1 year ago

Problem/Motivation

The tooltips do not display in the entity display form as described when a field description/helptext is set.

I am also using the Field description tooltip module simultaneously, but the tooltips DO display in the edit form, just not in display form.

Steps to reproduce

Enable the module, clear cache.
In "admin/config/user-interface/entity-display-tooltip" enable "Tooltip all?" and save
Navigate to a node that has data for fields that have helptext configured
Node displays data, but does not the tooltip icon. Tooltip does not display when hovering anywhere over the field.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

User interface

Created by

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

Comments & Activities

  • Issue created by @mslaxmeter
  • I moved one of the fields outside of my fieldsets so I can confirm it is not the fieldsets/CSS affecting it.

  • πŸ‡ΊπŸ‡ΈUnited States jmester13

    All,

    I have updated some things across the module so that it works as expected again. The reason it is currently broken is do to how fields are being obtained, there is a _ when we need a - for the field class name.

    I have added a checkbox option for a div vs browser title tooltip display. Which would allow a developer to style the div to there needs. I added some basic styles to the module to get things presentable.

    Cleaned up some console logs and added the D10 combability flag.

    Due to the composer repo being out of date you'll need to apply this patch manually, feel free to reach out if you have questions.

    I'm also happy to become a maintainer on the project but do think it's worth rolling this into https://www.drupal.org/project/field_description_tooltip β†’ so that it's all one module for tooltips.

Production build 0.69.0 2024