microsoft-ui-xaml icon indicating copy to clipboard operation
microsoft-ui-xaml copied to clipboard

ScrollViewer not working on Microsoft surface touch device

Open Bhaviktripps opened this issue 1 year ago • 2 comments

Which version of the app?

WinUI 3 Gallery

Description

"I have an existing UWP app that works as expected on non-touch devices and utilizes the Data Grid control, ScrollViewer, and ListView control from Microsoft.Toolkit.Uwp.UI.Controls. While I can scroll and click the scroll buttons using the mouse, I’m unable to scroll using the scrollbar controls on touch screen devices; it seems that this functionality is disabled for touch input. Could you please provide guidance or solutions to enable scrolling with the scrollbar and scroll buttons on touch screens? Any configuration tips or solutions would be greatly appreciated. Thank you!"

Screenshots

No response

Windows version

Windows 10 22H2 (19045)

Additional context

No response

Bhaviktripps avatar Sep 17 '24 03:09 Bhaviktripps

UWP is WinUI2. Would you be able to provide more info, such as a repro app? Also, this is looking like a bug against the SDK itself, so transferring to microsoft-ui-xaml.

karkarl avatar Oct 10 '24 18:10 karkarl

DataGrid.zip ScrollBarWIthButton.zip

Please refer to the attached two sample applications:

  1. The application works fine with a mouse, but when used on a Microsoft Surface or other touch devices, scrolling using the scrollbar is not possible (swipe functionality is working , but required to work scrollbar with touch).

  2. Data Grid Demo App - Scrolling using the scrollbar does not work on touch screens. While the scrollbar's color changes when using a mouse, it appears to be non-interactive when on touch device."

Bhaviktripps avatar Oct 22 '24 01:10 Bhaviktripps

Please review the application and let me know the option to enable scrolling on touch devices.

Bhaviktripps avatar Nov 13 '24 02:11 Bhaviktripps

@Bhaviktripps are you seeing this with only toolkit controls or the system controls ?

ranjeshj avatar Jan 24 '25 23:01 ranjeshj

button and other control work on touch device. only scrollbar viewer or scroll bar is not working

Bhaviktripps avatar Feb 07 '25 15:02 Bhaviktripps

Any input or suggestion for touch devices support for scrolling

Bhaviktripps avatar May 08 '25 13:05 Bhaviktripps