UI.WPF.Modern icon indicating copy to clipboard operation
UI.WPF.Modern copied to clipboard

ScrollViewerEx can not auto scroll

Open wuyang26 opened this issue 1 year ago • 5 comments

When using ScrollViewerEx on a Listbox, if an item is partially obscured, clicking on it with the mouse will automatically scroll to full display if using ScrollViewer, while ScrollViewerEx will have no response. image

wuyang26 avatar Aug 14 '24 08:08 wuyang26

At the same time If ScrollViewerEx is used with the ComboBox control, it will not automatically scroll to the selection when clicking the drop-down button.

wuyang26 avatar Aug 15 '24 00:08 wuyang26

https://github.com/iNKORE-NET/UI.WPF.Modern/blob/8620356967c85ddaa8da42422e0c940e43e03bce/source/iNKORE.UI.WPF.Modern/Controls/ScrollViewerEx.cs#L108

If you remove the ScrollInfo override everything starts working normally

Bober95 avatar Aug 18 '24 08:08 Bober95

After deleting this code, an error occurred while running for ListBox Control.

wuyang26 avatar Aug 25 '24 02:08 wuyang26

Hey,

Pls check after the latest commit if the problem still exists.

NotYoojun avatar Aug 29 '24 09:08 NotYoojun

After deleting this code, an error occurred while running for ListBox Control.

Does this problem appear in the latest code?

NotYoojun avatar Aug 29 '24 09:08 NotYoojun

I'm closing this due to long inactivity, feel free to reopen if the issue still exists.

NotYoojun avatar Dec 05 '24 07:12 NotYoojun