Skip to content

Commit

Permalink
Cherry-pick f64be53. rdar://114720841
Browse files Browse the repository at this point in the history
    [iOS] REGRESSION(268041@main): Unable to scroll Twitch.tv with touch atop video area
    https://bugs.webkit.org/show_bug.cgi?id=261950
    rdar://115850939

    Reviewed by Simon Fraser.

    Views which conform to WKNativelyInteractible (like WKModelView and WKSegmentedModelView) get special treatment inside `-_web_findDescendantViewAtPoint:`, so that touch events can be handled directly by the view itself. WKVideoView doesn't actually need to handle touch events directly, so it should just be a normal subclass of WKCompositingView.

    * Source/WebKit/UIProcess/ios/WKVideoView.h:

    Canonical link: https://commits.webkit.org/268331@main
Identifier: 265870.605@safari-7616.2.9.10-branch
  • Loading branch information
jernoble authored and MyahCobbs committed Sep 29, 2023
1 parent e656aef commit 711b75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebKit/UIProcess/ios/WKVideoView.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#import "RemoteLayerTreeViews.h"

@interface WKVideoView : WKCompositingView <WKNativelyInteractible>
@interface WKVideoView : WKCompositingView
@end

#endif

0 comments on commit 711b75e

Please sign in to comment.