astro icon indicating copy to clipboard operation
astro copied to clipboard

Nested hydrating components aren't working properly

Open markpinero opened this issue 3 years ago • 1 comments

What version of astro are you using?

1.1.7

Are you using an SSR adapter? If so, which one?

None

What package manager are you using?

yarn

What operating system are you using?

Mac

Describe the Bug

If a hydrated component toggles visibility of a child component that's hydrated by (client:visible/only tested), the parent component will not function properly in some instances.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-9nofqr?file=src/pages/index.astro

Participation

  • [ ] I am willing to submit a pull request for this issue.

markpinero avatar Sep 09 '22 01:09 markpinero