This is a migrated thread and some comments may be shown as answers.

ComboBox within ScrollViewer scrolling issue

2 Answers 868 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 20 Jan 2009, 06:39 PM
Hi,

We have a problem with mousewheel scrolling when ComboBox is withing the ScrollView control.

To reproduce it:
- create a ScrollViewer control
- within scrollviewer create ComboBox and add some items.
- in the code behind add the following to allow mouse wheel support for ScrollViewer
ScrollViewerMouseWheelSupport.Initialize(LayoutRoot);
scrollViewer.AddMouseWheelSupport();
- run the app
- click combo to display items in the dropdown
- use the mouse wheel to scroll

The result is: ScrollViewer is scrolling with all the controls, but the dropdown box is not moving at all at becomes disconnected from the combo box.

Anybody knows how to fix it ?

Thanks,
Andrew



 

2 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 21 Jan 2009, 09:15 AM
Hi Andrew,

The problem is related to the fact that the combobox Popup dropdown does not know that it has to move itself with the scroll viewer when the mouse wheel is rotated. The same behavior could be observed with the standard ComboBox control. I don't think this problem can be workarounded without modifications in the combobox controls. I will log this problem as a feature request for RadComboBox and we will consider it for implementation for one of the next releases.

Kind regards,
Valeri Hristov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mackenzie
Top achievements
Rank 1
answered on 09 Mar 2016, 05:50 PM
FYI, there is a [hacky] solution @ http://stackoverflow.com/a/35881864/548304
Tags
ComboBox
Asked by
Andrew
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Mackenzie
Top achievements
Rank 1
Share this question
or