Keynode icon indicating copy to clipboard operation
Keynode copied to clipboard

First responder rejected resignFirstResponder when being removed from hierarchy

Open thesauravmitra opened this issue 5 years ago • 1 comments

This involves the inputAccessoryView as the firstResponder (imagine a UITextField right above the inputView). When the keyboard is dismissed the first time with a swipe (i.e. when willChangeLocationAnimation calls firstResponder?.origin?.resignFirstResponder(), this occurs:

First responder warning: '<Loop.TypeField: 0x104113400; baseClass = UITextField; frame = (0 0; 414 68); text = ''; opaque = NO; gestureRecognizers = <NSArray: 0x10a7e0650>; layer = <CALayer: 0x103bd8b20>>' rejected resignFirstResponder when being removed from hierarchy

Any ideas?

thesauravmitra avatar Oct 23 '18 20:10 thesauravmitra

I don't have any ideas. But, I found the same issue following. https://stackoverflow.com/questions/47866041/uitextview-in-custom-inputaccessoryview-not-resigning-first-responder-status

Could you check it?

KyoheiG3 avatar Oct 24 '18 01:10 KyoheiG3