diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm index 18d1893968..184d2b1661 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm @@ -483,7 +483,7 @@ static inline blink::PointerData::DeviceKind DeviceKindFromTouchType(UITouch* to } FXL_DCHECK(device_id != 0); - CGPoint windowCoordinates = [touch locationInView:nil]; + CGPoint windowCoordinates = [touch locationInView:self.view]; blink::PointerData pointer_data; pointer_data.Clear();