SwiftMessages icon indicating copy to clipboard operation
SwiftMessages copied to clipboard

Interacting with a SwiftMessage resigns the view controller as first responder

Open adamvnovak opened this issue 2 years ago • 0 comments

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

adamvnovak avatar Jun 22 '22 20:06 adamvnovak