ComboBox within ScrollViewer scrolling issue

3 posts, 0 answers
  1. Andrew
    Andrew avatar
    6 posts
    Member since:
    Aug 2008

    Posted 20 Jan 2009 Link to this post

    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. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 21 Jan 2009 Link to this post

    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.
  3. DevCraft banner
  4. Mackenzie
    Mackenzie avatar
    1 posts
    Member since:
    May 2012

    Posted 09 Mar Link to this post

    FYI, there is a [hacky] solution @ http://stackoverflow.com/a/35881864/548304
Back to Top