[webkit-changes] [WebKit/WebKit] 4ee917: Adjust ContextMenu animation

mwyrzykowski noreply at github.com
Thu Jun 1 17:03:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4ee917d5729ad6c5ee922c47c53185af45c6b9e7
      https://github.com/WebKit/WebKit/commit/4ee917d5729ad6c5ee922c47c53185af45c6b9e7
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2023-06-01 (Thu, 01 Jun 2023)

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

  Log Message:
  -----------
  Adjust ContextMenu animation
https://bugs.webkit.org/show_bug.cgi?id=257540
<radar://107716428>

Reviewed by Dean Jackson.

Change behavior of context menu animation such that fading is used
instead of morphing when tapping on the preview.

* Source/WebKit/UIProcess/ios/WKContentViewInteraction.h:
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView _contextMenuInteraction:configurationForMenuAtLocation:completion:]):
(-[WKContentView contextMenuInteraction:configuration:dismissalPreviewForItemWithIdentifier:contextMenuInteraction:previewForDismissingMenuWithConfiguration:]):
(-[WKContentView contextMenuInteraction:willPerformPreviewActionForMenuWithConfiguration:animator:]):
(-[WKContentView contextMenuInteraction:willEndForConfiguration:animator:]):

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




More information about the webkit-changes mailing list