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
Lazy-loaded react components only show inside Disclosure panel after second opening.
Steps to reproduce
Click on the second disclosure component ("Section 2 (with lazy component)") - it's empty, neither the lazily loaded component nor fallback; close panel and reopen again - it's there.
Expected result
It should be there the first time.
The text was updated successfully, but these errors were encountered:
akhdefault
changed the title
Lazy-loaded components do not show inside disclosure panel
Lazy-loaded components do not show inside disclosure panel the first time it is opened
Sep 18, 2023
Insiders has combobox but NPM may have picked up an old version if you did an upgrade (has to do with the version numbers for insiders using commit hashes).
Try removing it from your package.json, installing, and then running the following:
What package within Headless UI are you using?
@headlessui/react
What version of that package are you using?
For example: v1.7.17
What browser are you using?
Same problem everywhere, eg Chrome
Reproduction URL
https://codesandbox.io/p/sandbox/vigorous-boyd-szywc7?file=%2Fsrc%2Flazy.tsx
Describe your issue
Lazy-loaded react components only show inside Disclosure panel after second opening.
Steps to reproduce
Click on the second disclosure component ("Section 2 (with lazy component)") - it's empty, neither the lazily loaded component nor fallback; close panel and reopen again - it's there.
Expected result
It should be there the first time.
The text was updated successfully, but these errors were encountered: