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
hi, I'm running into a UX issue where the Dialog component gets unmounted from the DOM when closed, which clears all form data inside it. This creates a frustrating experience for users who might accidentally close the dialog or need to reopen it, as they lose everything they've entered.
Is there a way to prevent the dialog from being unmounted and instead just hide it, so the form state persists?
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.
-
hi, I'm running into a UX issue where the Dialog component gets unmounted from the DOM when closed, which clears all form data inside it. This creates a frustrating experience for users who might accidentally close the dialog or need to reopen it, as they lose everything they've entered.
Is there a way to prevent the dialog from being unmounted and instead just hide it, so the form state persists?
(forceMount doesn’t work alone)
Beta Was this translation helpful? Give feedback.
All reactions