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
If the template’s first element has an id that is already used by a direct child inside the container targeted by dom_id, it is replaced instead of appended.
The problem is similar to what #240 solved for
append
andprepend
actions. But not forbefore
andafter
actions.Streams reference for
append
action says:The same for
prepend
.However, the described behavior does not apply to the
before
andafter
actions.The problem:
Assuming there is the following HTML
then such turbo stream element with
before
actionor with
after
actionwill produce DOM with elements with duplicated id
The text was updated successfully, but these errors were encountered: