-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ui: session - clicking outside the Session Timeout Warning Dialog closes the dialog without handling "Stay connected" #1561
Comments
@nicanac @christophercr Which behaviour do you prefer ? Personally I prefer the second one, clicking outside should make the dialog disappear. |
Mmm I think I prefer option 1: clicking outside does nothing. That way the user is forced to click on the "Stay connected" button if he really wishes to keep his session alive (that also feels like kind of safer right?). Otherwise, triggering the "stay connected" behavior when clicking outside might be confusing... because if the app displays such dialog it is for a reason and the user is expected to interact with it |
At first, option 2 was my favorite because in most case like in a picture viewer, when you click outside it closes the popup. |
Okok. I agree. |
Yes, good idea. |
Yep, good idea... but is it really something urgently requested by anyone? |
@christophercr |
Ah ok, well, in that case the solution is simple: just add the option stark/packages/stark-ui/src/modules/session-ui/effects/session-timeout-warning.effects.ts Line 42 in aa9d3e4
And about the |
Yep'! Exactly. It's a simple fix :-) (that should be part of 10.0.0-rc.4 I think) |
Alright! Then let's create another issue/PR for it 😉 |
I've created issue #1731 for the implementation of the "Disconnect" button 😉 |
Closed by #1605 |
I'm submitting a...
Current behavior
When the Session Timeout Warning Dialog appears
And you click outside the dialog, it closes the dialog without handling the "Stay connected".
EDIT: If you click outside of the dialog, it closes it and does not stop the countdown. That means that you are disconnected once the countdown is finished. That's really bad for the UX 😕
Expected behavior
2 behaviours are possible here:
Minimal reproduction of the problem with instructions
Open the showcase, wait for the Session Timeout Warning Dialog appearing then click outside the dialog.
What is the motivation / use case for changing the behavior?
Environment
The text was updated successfully, but these errors were encountered: