Skip to content
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

[iOS 17] Fix navigation to safari not working when keyboard is visible #41

Conversation

Tunous
Copy link
Contributor

@Tunous Tunous commented Jun 15, 2023

iOS 17 adds SwiftUI.UIKitKeyPressResponder to responder chain between inserted UIView and first UIViewController which is neither an UIView or UIViewController. This caused the search for UIViewController to fail before fix.

iOS 17 adds SwiftUI.UIKitKeyPressResponder to responder chain between inserted UIView and first UIViewController which is neither an UIView or UIViewController. This causes the search for UIViewController to fail.
Copy link
Owner

@stleamist stleamist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution and detailed analysis!

I'm very grateful that you figured out that SwiftUI.UIKitKeyPressResponder was the source of the problem.

@stleamist stleamist self-assigned this Oct 29, 2023
@stleamist stleamist changed the base branch from main to bug/ios-17-key-press-responder-issue October 29, 2023 15:07
@stleamist stleamist merged commit 9f997fb into stleamist:bug/ios-17-key-press-responder-issue Oct 29, 2023
@Tunous Tunous deleted the fix/iOS-17-show-with-keyboard branch October 29, 2023 15:12
@Tunous Tunous restored the fix/iOS-17-show-with-keyboard branch October 29, 2023 15:16
@stleamist stleamist added the bug Something isn't working label Oct 29, 2023
@Tunous Tunous deleted the fix/iOS-17-show-with-keyboard branch June 4, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants