Last active
          April 22, 2025 02:22 
        
      - 
      
 - 
        
Save stephancasas/65acdc16528b24d25f20329b364d8c12 to your computer and use it in GitHub Desktop.  
    macOS: Ignore `WKWebView` events
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // | |
| // WKWebView+UserIgnoreEvents.h | |
| // EventEavesdropper | |
| // | |
| // Created by Stephan Casas on 4/21/25. | |
| // | |
| #import <WebKit/WebKit.h> | |
| @interface WKWebView (UserIgnoreEvents) | |
| - (void) _setIgnoresMouseMoveEvents:(BOOL)flag; | |
| - (void) _setIgnoresNonWheelEvents:(BOOL)flag; | |
| - (void) _setIgnoresAllEvents:(BOOL)flag; | |
| @end | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment