enhancient
enhancient
> Anyway, we should determine the basic things: > > * Reduce confusing terms (i.e, zoom and scale, which do you think better?) I think 'scale' makes sense for variable/method...
@espresso3389 What's your thinking on including this pull request into master?
> I really want to merge it. But the changes is too much. So shall we break it down - just include the ScrollPhysics and look at the page fit...
Did 606b39a1b3327aabf4db8148dea63867cf60e981 fix this? As for getScrollPhysics, the idea is to provide sensible defaults for a PDF reader - Flutter already has a ScrollConfiguration.of(context).getScrollPhysics(context) to determine the platform default, but...
I can see the issue on Flutter Web on MacOS too. I'm looking into it. A mouse wheel scroll should not encounter resistance and cause a bounce-back, but be clamped...
I've discovered the issue - the _receivedPointerSignal method in InteractiveViewer used to handle mouse wheel and trackpad events on web was setting the matrix without clamping. I've added a simple...
I can't reproduce this - how did you zoom in exactly? For me on macOS web in chrome when I zoom in with the trackpad it re centers.
The offending code is in: https://github.com/flutter/engine/blob/master_archived/shell/platform/darwin/ios/framework/Source/FlutterViewController.mm ``` - (BOOL)scrollViewShouldScrollToTop:(UIScrollView*)scrollView { if (!_engine) { return NO; } CGPoint statusBarPoint = CGPointZero; UIScreen* screen = [self flutterScreenIfViewLoaded]; if (screen) { SendFakeTouchEvent(screen, _engine.get(),...
> By chance, I added `scrollPhysics` and `scrollPhysicsScale` params and it somehow make the PDF scroll speed more natural. > > params: const PdfViewerParams( > scrollPhysics: FixedOverscrollPhysics(maxOverscroll: 100), > scrollPhysicsScale:...
> So if many users feel that the scroll speed is slow, should we provide appropriate (faster) default value for `PdfViewerParams.getScrollPhysics`? > > Or if #547 is fixed, should we...