How to reproduce:
To simplify the problem, I used a basic RadGridView and implemented a horizontal mouse wheel scrolling like so:
private void GridView_PreviewMouseWheel(object sender, MouseWheelEventArgs e)
{
if (((RadGridView)sender).ChildrenOfType<ScrollViewer>().FirstOrDefault() is ScrollViewer scrollViewer)
{
if (Keyboard.Modifiers.Equals(ModifierKeys.Shift))
{
if (e.Delta < 0)
{
scrollViewer.LineRight();
}
else
{
scrollViewer.LineLeft();
}
e.Handled = true;
}
}
}
I used the solution found in this thread and added the code above.
https://www.telerik.com/forums/horizontal-scrolling-w-mouse-wheel-trackpad
Horizontal mouse wheel scrolling works fine until I open the text search (Ctrl + F). After opening the search bar, the ScrollViewer seems to be changed in a way that scrolling with the mouse wheel + shift behavior is not working anymore.
I would be very grateful for any help.
Best regards
Jonas