Touch scrolling works everywhere with engine fix!
๐ Try dragging anywhere - it all works! โ
๐ Try to drag/swipe inside this green-bordered area on a touch device - it works now!
GitHub Issue: #157435
Problem: When a Flutter web app is embedded in a page using
multiViewEnabled: true or iframe, touch-based scrolling
(mainly on Android/iOS browsers) does NOT scroll the host page.
Root Cause: Flutter's engine calls preventDefault()
on touch events, which blocks the browser's native touch scrolling behavior.
Impact: This is a MAJOR BLOCKER for using Flutter view-embedding on mobile devices. Users cannot scroll the host page when touching the Flutter content.
The solution is to modify the engine's pointer_binding.dart to
NOT call preventDefault() on touch events when
the Flutter content is non-scrollable or when browser scrolling should be enabled.
This allows the browser to handle native touch scrolling while still supporting Flutter's gesture detection for interactive widgets.