-
Notifications
You must be signed in to change notification settings - Fork 608
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
Dismiss View doesn't set the correct window as key #308
Comments
…at the time of generating the entry window, to be used later if needed
@Zanatta99 that's a good point you just raised. definitely a logic gap that was ignored for some reason. I patched it for urgency reasons, but it def' deserves more love (in future) - Please review the linked PR and let me know your thoughts. |
@huri000 Yeah, also for me it's the better solution. |
…at the time of generating the entry window, to be used later if needed (#309)
@Zanatta99, please try out 1.2.6. |
@huri000
The print results are:
Inside the EKContentView class, in the method removeFromSuperview() is called The print results are:
|
Is this issue resolved?? i am still having this issue. |
Describe the bug
When the view presented using SwiftEntryKit (with windowLevel .alerts) is dismissed, the view doesn't set the main app window as key and visible
To Reproduce
1 present a view over the main windows setting WindoLever = .alerts
2 dismiss the view
3 the initial main window will not come back the key window
Expected behavior
When the present view is dismissed the starting key window have to return the key window
Screenshots
If applicable, add screenshots to help explain your problem.
iPhone (please complete the following information):
Additional context
Inside the EKWindowProvider class, in the methods displayRollbackWindow() in the first case of the swift you are getting the UIApplication.shared.keyWindow and you call the methods makeKeyAndVisible() to set the view as the keyWindow, but it will never works because UIApplication.shared.keyWindow it that moment is the view that present the SwiftEntryKit view and not the oldest window that have to come back the keyWindow.
If you need help, don't hesitate to contact me dude😊😉.
The text was updated successfully, but these errors were encountered: