app-center icon indicating copy to clipboard operation
app-center copied to clipboard

Scrolling does not work with touch screen

Open python-destroyer opened this issue 2 years ago โ€ข 3 comments

Scrolling in App Center does not work on touchscreen both with one and two fingers. Instead items are selected/deselected.

Device: Surface Go 1 System: Ubuntu 23.10 App Center: 1.0.0-Alpha

scroll

python-destroyer avatar Oct 23 '23 21:10 python-destroyer

@d-loose, This should be fixable with

scrollBehavior: const MaterialScrollBehavior().copyWith(
              dragDevices: {
                PointerDeviceKind.mouse,
                PointerDeviceKind.touch,
                PointerDeviceKind.stylus,
                PointerDeviceKind.unknown,
                PointerDeviceKind.trackpad,
              },
            ),

in MaterialApp

Or, if you already did this, eventually this gridview incorporates a listview and something else, in this case you need to set either of the scroll views to NeverScrollableScrollPhysics

Feichtmeier avatar Oct 24 '23 06:10 Feichtmeier

Same issue.

Device: HP ENVY x360 Convertible 15z-ee100 System: Ubuntu 23.10 App Center: 1.0.0-Alpha

sahincapiec avatar Dec 07 '23 14:12 sahincapiec

it's the same Problem with:

Surface Go 4 - Ubuntu 23.10

@Feichtmeier : is your patch applicable without building from source ? could not find a file called "MaterialApp".

wengahias avatar Jan 17 '24 08:01 wengahias

@spydon is this something you can look at next?

anasereijo avatar Aug 16 '24 10:08 anasereijo

Solved in #1791

spydon avatar Oct 03 '24 08:10 spydon