keepMountedMode for components other than Tabs (e.g. Dialog) #8881
mfulton26
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I ran into the same issue I ran into previously in https://github.com/orgs/mantinedev/discussions/8832 but with
<Dialog>. I'm already usingkeepMountedbut the initial render hasopened={false}and so nothing ever gets loaded, but I need it to load hidden in order for other things in the UI to work (e.g. loading an iframe that other code interacts with).Can
keepMountedModealso be added to<Dialog>? Would it be appropriate to add it to all components that use React 19's<Activity>? The ability to set a default might be helpful too (e.g. via something like<MaintineProvider>props).All reactions