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 want to send users to my Settings modal when they click an option in a dropdown called "set custom dimensions." So I put a state variable called settingsOpen (with the unfortunate setter name of setSettingsOpen) in my global context. Then in my dropdown menu I have this:
But any time I click this option in the dropdown, I get a "too much recursion" error:
I am not sure if I'm doing something wrong, or if this is a problem with Radix. I think this workflow ought to be possible, but I can't figure out how?
Edit: Never mind, this is #2390, and updating my version of react-dialog (and restarting my dev instance) fixed it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to send users to my Settings modal when they click an option in a dropdown called "set custom dimensions." So I put a state variable called
settingsOpen
(with the unfortunate setter name ofsetSettingsOpen
) in my global context. Then in my dropdown menu I have this:And in my settings dialog I have this:
But any time I click this option in the dropdown, I get a "too much recursion" error:
I am not sure if I'm doing something wrong, or if this is a problem with Radix. I think this workflow ought to be possible, but I can't figure out how?
Edit: Never mind, this is #2390, and updating my version of react-dialog (and restarting my dev instance) fixed it.
Beta Was this translation helpful? Give feedback.
All reactions