Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The ListView.ScrollIntoView() method is out of work under remote control #10076

Open
Gaoyifei1011 opened this issue Oct 17, 2024 · 0 comments
Open
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners

Comments

@Gaoyifei1011
Copy link

Gaoyifei1011 commented Oct 17, 2024

Describe the bug

The ListView.ScrollIntoView() method is out of work under remote control

--------------------------------------

ListView.ScrollIntoView() 方法在远程操控下失效了

Steps to reproduce the bug

正常情况下,当我调用 ListView 的 ScrollIntoView() 方法可以滚动到指定条目,但是开启了远程操控时(比如 Todesk,向日葵,RDP 等等),调用 ListView 的 ScrollIntoView() 方法不能滚动到指定的条目,只停留在第一项。

---------------------------------

Normally, when I call ListView's ScrollIntoView() method, I can scroll to the specified entry, but when remote control is enabled (such as Todesk, sunflower, RDP, etc.), The ScrollIntoView() method that calls the ListView cannot scroll to the specified entry, only to the first item.


参考链接 (Reference links)
https://learn.microsoft.com/uwp/api/windows.ui.xaml.controls.listviewbase.scrollintoview?view=winrt-26100


同样适用于 WinUI 3 和 UWP

------------------------

Same for WinUI 3 and UWP

Expected behavior

开启远程控制时,ScrollIntoView() 方法不会失效

###-----------------------------

The ScrollIntoView() method does not fail when remote control is enabled

Screenshots

Remote mode(First Item)
远程模式(第一项)
Image
Normal mode(specified item)
正常模式(特定项)
Image

NuGet package version

WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002

Windows version

Windows 11 (22H2): Build 22621

Additional context

None

@Gaoyifei1011 Gaoyifei1011 added the bug Something isn't working label Oct 17, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Oct 17, 2024
@Gaoyifei1011 Gaoyifei1011 changed the title The ListView.ScrollIntoView() method is disabled under remote control The ListView.ScrollIntoView() method is out of work under remote control Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Issue needs to be triaged by the area owners
Projects
None yet
Development

No branches or pull requests

1 participant