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
This has an <a>-tag with the data-turbo-stream attribute, so that Turbo does a Turbo Stream request to the given URL.
Note that I added event listeners for turbo:before-fetch-request on both the link itself as well as on the document.
I would expect the event to fire on the link (which it isn't), or at least for the link to be referenced in the event object somewhere (e.g. as the target or somewhere in detail).
Instead, the event's target is some random form that is not part of the original document (probably added by Turbo temporarily?) and there's no indication that the event actually got triggered via the link.
The text was updated successfully, but these errors were encountered:
Consider the following example document:
This has an
<a>
-tag with thedata-turbo-stream
attribute, so that Turbo does a Turbo Stream request to the given URL.Note that I added event listeners for
turbo:before-fetch-request
on both the link itself as well as on the document.I would expect the event to fire on the link (which it isn't), or at least for the link to be referenced in the event object somewhere (e.g. as the
target
or somewhere indetail
).Instead, the event's target is some random form that is not part of the original document (probably added by Turbo temporarily?) and there's no indication that the event actually got triggered via the link.
The text was updated successfully, but these errors were encountered: