Remove duplicate siblings when using before/after actions by tpaulshippy · Pull Request #1290 · hotwired/turbo

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@tpaulshippy

Copy link

Contributor

Purpose

Resolves #1288

Approach

Similar to #240, simply remove the elements under the parent element which have the same ID as elements within the template.

ExceLLent404 and pardeyke reacted with thumbs up emoji

@jorgemanrubia jorgemanrubia merged commit 6bb1cc4 into hotwired:main

Nov 13, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@seanpdoyle seanpdoyle seanpdoyle approved these changes

@jorgemanrubia jorgemanrubia Awaiting requested review from jorgemanrubia

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Duplicating DOM elements with before and after turbo streams actions

3 participants

@tpaulshippy @seanpdoyle @jorgemanrubia