ui icon indicating copy to clipboard operation
ui copied to clipboard

[Feat] Add `keepAlive` option to `<UModal>`

Open ShayanTheNerd opened this issue 2 months ago • 1 comments

Package

v4.x

Description

It’d be nice to have something like <UModal :keepAlive="true"></UModal> to retain the state of the modal (prevent it from unmounting its content). This could come in handy when we have, for example, a login/sign-up form within a modal, so the user doesn't lose input values, etc., when closing and re-opening the modal.

ShayanTheNerd avatar Nov 02 '25 16:11 ShayanTheNerd

The Modal component would need an :unmount-on-hide="false" prop like on other components but it's missing in Reka UI 😬

benjamincanac avatar Nov 03 '25 10:11 benjamincanac