You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use Shadow DOM extensively in the CCC project and are finding o-tracking doesn't work in declarative mode when the data-* attributes are rendered in the Shadow DOM.
I suspect it'd work if you added a config option for setting delegation target that allowed you to pass a different value (e.g., shadowRoot) to Delegate() here:
We use Shadow DOM extensively in the CCC project and are finding o-tracking doesn't work in declarative mode when the
data-*
attributes are rendered in the Shadow DOM.I suspect it'd work if you added a config option for setting delegation target that allowed you to pass a different value (e.g.,
shadowRoot
) toDelegate()
here:https://github.com/Financial-Times/origami/blob/main/libraries/o-tracking/src/javascript/events/click.js#L74
The text was updated successfully, but these errors were encountered: