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
Open Default Content
is a simple react show toggle via useState, the transition is correctly in a pending state, the suspense boundary does not render
Open Radix Popover
a very simple popover implementation. The transition is never pending, the suspence boundary gets rendered
alreay tried changing the open state via the same button from the Default Content example, but did not work.
Suggested solution
no realy clue. Do you toggle the display stated delayed in a useEffect maybe? That would prevent the transition from working correctly.
Your environment
radix-ui @ 1.1.3
The text was updated successfully, but these errors were encountered:
Bug report
Current Behavior
When opening a popover where the content triggers a suspense boundary,
useTransition
does not workExpected behavior
the transition should be in a pending state until the suspense boundary gets resolved
Reproducible example
https://codesandbox.io/p/sandbox/j78dpn
You'll find two buttons:
Open Default Content
is a simple react show toggle via useState, the transition is correctly in a pending state, the suspense boundary does not render
Open Radix Popover
a very simple popover implementation. The transition is never pending, the suspence boundary gets rendered
alreay tried changing the open state via the same button from the Default Content example, but did not work.
Suggested solution
no realy clue. Do you toggle the display stated delayed in a useEffect maybe? That would prevent the transition from working correctly.
Your environment
radix-ui @ 1.1.3
The text was updated successfully, but these errors were encountered: