mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
fix: don't override a text node's 'next sibling after text' position if it's in Either, now that they don't have separate marker nodes
This commit is contained in:
parent
70655b57b1
commit
8b142c72f0
1 changed files with 0 additions and 4 deletions
|
@ -162,7 +162,6 @@ where
|
|||
right.to_html_with_buf(buf, position, escape)
|
||||
}
|
||||
}
|
||||
*position = Position::NextChild;
|
||||
}
|
||||
|
||||
fn to_html_async_with_buf<const OUT_OF_ORDER: bool>(
|
||||
|
@ -179,7 +178,6 @@ where
|
|||
Either::Right(right) => right
|
||||
.to_html_async_with_buf::<OUT_OF_ORDER>(buf, position, escape),
|
||||
}
|
||||
*position = Position::NextChild;
|
||||
}
|
||||
|
||||
fn hydrate<const FROM_SERVER: bool>(
|
||||
|
@ -527,7 +525,6 @@ macro_rules! tuples {
|
|||
match self {
|
||||
$([<EitherOf $num>]::$ty(this) => this.to_html_with_buf(buf, position, escape),)*
|
||||
}
|
||||
*position = Position::NextChild;
|
||||
}
|
||||
|
||||
fn to_html_async_with_buf<const OUT_OF_ORDER: bool>(
|
||||
|
@ -538,7 +535,6 @@ macro_rules! tuples {
|
|||
match self {
|
||||
$([<EitherOf $num>]::$ty(this) => this.to_html_async_with_buf::<OUT_OF_ORDER>(buf, position, escape),)*
|
||||
}
|
||||
*position = Position::NextChild;
|
||||
}
|
||||
|
||||
fn hydrate<const FROM_SERVER: bool>(
|
||||
|
|
Loading…
Reference in a new issue