WKContentView has logic to prevent resigning of firstResponder status when it is resigning due to a keyboard dismissal request (and it is the FR already). This is because in that case it will becomeFirstResponder right after anyway. The issue is that sometime the notification of the keyboard dismissal does not happen right away, and in that case, it incorrectly does not resign first responder. We can make this logic (deciding to not resign FR) more robust by gating on `_isEditable` as well, which prevents this bad state.
rdar://113732040
Pull request: https://github.com/WebKit/WebKit/pull/16628
Committed 266863@main (8222cb10b1d0): <https://commits.webkit.org/266863@main> Reviewed commits have been landed. Closing PR #16628 and removing active labels.