[webkit-changes] [WebKit/WebKit] d5ff42: UIKit controls sometimes do not receive tap events

Richard Robinson noreply at github.com
Mon Apr 3 14:56:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d5ff4276a812baf162a18ace0e950c4ea3e7858c
      https://github.com/WebKit/WebKit/commit/d5ff4276a812baf162a18ace0e950c4ea3e7858c
  Author: Richard Robinson <richard_robinson2 at apple.com>
  Date:   2023-04-03 (Mon, 03 Apr 2023)

  Changed paths:
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

  Log Message:
  -----------
  UIKit controls sometimes do not receive tap events
https://bugs.webkit.org/show_bug.cgi?id=254829
rdar://107398700

Reviewed by Wenson Hsieh.

Generalizes the `-[WKContentView _handleTapOverInteractiveControl:]` function to make sure
valid controls receive the proper tap events.

Also removes an outdated comment.

* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _singleTapIdentified:]):
(-[WKContentView _singleTapRecognized:]):
(-[WKContentView _handleTapOverInteractiveControl:]):
(-[WKContentView _handleTapOverImageAnalysisInteractionButton:]): Deleted.

Canonical link: https://commits.webkit.org/262530@main




More information about the webkit-changes mailing list