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
I ran into an issue today with reuseDom, when the destination page has fewer root elements than the source page.
Let's say Page A has 3 root elements, Page B has 1 root element.
When transitioning from from page A to page B via a Client Transition with reuseDom, the 1st root element will get correctly replaced by Page B, but the 2nd and 3rd root elements will remain unchanged (minus CSS) from Page A.
reuseDom needs to wipe out extra root elements when transitioning to a page with fewer Root Elements.
Unfortunately I don't have a good, non-sensitive test case for this.
The text was updated successfully, but these errors were encountered:
I ran into an issue today with reuseDom, when the destination page has fewer root elements than the source page.
Let's say Page A has 3 root elements, Page B has 1 root element.
When transitioning from from page A to page B via a Client Transition with reuseDom, the 1st root element will get correctly replaced by Page B, but the 2nd and 3rd root elements will remain unchanged (minus CSS) from Page A.
reuseDom needs to wipe out extra root elements when transitioning to a page with fewer Root Elements.
Unfortunately I don't have a good, non-sensitive test case for this.
The text was updated successfully, but these errors were encountered: