Problem/Motivation

Randomly on Google Chrome and Firefox (perhaps other browser I didn't test) , the webform help tooltip are not displayed.

Steps to reproduce

- Create a form, add a new field , by example field text save.
- Refresh your form admin/structure/webform/manage/[machine_name_webform]
- Randomly, tooltip doesn't work, if I clic on edit in my previous text field and hover any tooltip : nothing
- Now if click on Add element, tooltip are ok, if i click on edit text field, tooltip are ok

Proposed resolution

I think, jquery ui tooltip are loaded too late and not applicated to the modal dialog

My setup

- last webform release 6.0.0-alpha21
- last drupal 9 stable release 9.0.7

Here a video for check the issue easily :

https://youtu.be/tUxSwif9EOM

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Tichris59 created an issue. See original summary.

jrockowitz’s picture

Webform is no longer using jQuery UI tooltips and it has been replaced with TippyJS. I think the TippyJS library is not being loaded via Ajax.

jrockowitz’s picture

Status: Active » Needs review
FileSize
464 bytes
jrockowitz’s picture

This patch is also applicable to webform 8.x-5.x

Tichris59’s picture

Works like a charm thanks a lot !

  • jrockowitz authored 73a9acf on 8.x-5.x
    Issue #3182382 by jrockowitz: Tooltip doesn't display randomly
    
jrockowitz’s picture

Status: Needs review » Fixed

  • jrockowitz authored 73a9acf on 6.x
    Issue #3182382 by jrockowitz: Tooltip doesn't display randomly
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.