Skip to content

Commit

Permalink
fix: correct hydration position for static text nodes in nightly (c…
Browse files Browse the repository at this point in the history
…loses #3395) (#3396)
  • Loading branch information
gbj authored Dec 21, 2024
1 parent 702d2e2 commit 5a3413d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tachys/src/view/static_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ impl<const V: &'static str> RenderHtml for Static<V> {
.unwrap_or_else(|| {
crate::hydration::failed_to_cast_text_node(node)
});

position.set(Position::NextChildAfterText);

Some(node)
}
}
Expand Down

0 comments on commit 5a3413d

Please sign in to comment.