Problem/Motivation
When the html returned by an ajax call contains an element with the tooltip data attribute, it won't work. The use of once() in the Drupal behaviour seems to be the cause.
When the html returned by an ajax call contains an element with the tooltip data attribute, it won't work. The use of once() in the Drupal behaviour seems to be the cause.
Comments
Comment #2
matthieuscarset commentedPlease forgive the delay in replying.
I'm sorry but I don't understand how I can reproduce the issue.
The root of Ajax errors in Drupal can be multiple... and I don't know how the `data-tooltip-id` attribute can cause an exception.
It must be something related to the JS behaviors.
Could you maybe please share the full error message returned in the console?
Looking forward to hearing from you.