Interacting with a SwiftMessage resigns the view controller as first responder
adamvnovak opened this issue · 1 comments
adamvnovak commented
I am keeping an inputAccessoryView always attached to the bottom of the viewController through a method described here. The viewController sets its inputAccessoryView and then becomes the first responder.
However, when a SwiftMessage displays, and the user interacts with it in any way, the inputAccessoryView resigns because the viewController is resigned as the first responder. Here is a video displaying the issue.
Why might user interaction with a SwiftMessage be forcing the viewController to resign as first responder? And how might this be prevented?
Specs:
ios15
Xcode 13.4
Swift 5
wtmoose commented
Have you tried setting SwiftMessage.Config.becomeKeyWindow
to false
?