sibvisions / reactUI

A generic react UI for JVx applications.
Apache License 2.0
3 stars 2 forks source link

Navigation with popups? #490

Closed rjahn closed 2 weeks ago

rjahn commented 4 months ago

Login and open screen and another screen -> open change password -> press browser BACK.

Change password should be hidden instead of "real" navigation.

gimmixAT commented 4 months ago

I implemented a p.o.c. with the "change password" dialog. This is a bit of an anti pattern though since it will close the dialog if you go back but won't reopen it if you go forward because it is not an actual entry in the history stack.

rjahn commented 4 months ago

clear. Another solution: close dialog in case of opening another screen?

rjahn commented 4 months ago

Your PoC is working

gimmixAT commented 2 months ago

All dialogs should be closable now via history back. In case a UIMessage is not closable the history change will be blocked but the dialog window remains.