[Webkit-unassigned] [Bug 260060] New: WKContentView not always resigning firstResponder when it should

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 10 21:59:58 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=260060

            Bug ID: 260060
           Summary: WKContentView not always resigning firstResponder when
                    it should
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ryanfuller at apple.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230811/15bee90a/attachment-0001.htm>


More information about the webkit-unassigned mailing list