primereact
primereact copied to clipboard
Dialog: Minimizable option like PrimeFaces JSF
Discussed in https://github.com/orgs/primefaces/discussions/1788
Hey everyone,
I've been thinking about a neat addition to PrimeReact that could make a big difference in user experience: a minimizable option for Dialog components.
The idea is to give users the ability to minimize Dialogs, which would be super handy in scenarios where users need to focus on other tasks or refer to information elsewhere on the page without closing the Dialog entirely.
I envision a simple button or icon in the Dialog's title bar that toggles between minimizing and restoring the Dialog's visibility.
When minimized, the Dialog could display as a smaller version, perhaps with just the title bar visible, showing an indicator that there's content inside. This would allow users to easily see and access the Dialog when needed, without it taking up too much space or being distracting.
@melloware mentioned to me that this feature is already supported in PrimeFaces JSF.
the primefaces openDynamic seems to rebuild it's content on minimize and restore. Is there any work around for that so that user's progress does not get lost just because they clicked the minimize button?
@vivekrijal wrong channel this is a PrimeReact discussion.
@vivekrijal you should use the PrimeFaces Community: https://github.com/orgs/primefaces/discussions/categories/primefaces