From 0973e66d04505264f2e34c9fba0769be8f35c15f Mon Sep 17 00:00:00 2001 From: Luis von der Eltz Date: Fri, 15 Jul 2022 16:31:50 +0200 Subject: [PATCH] Remove wrong fix --- src/Avalonia.Controls/ItemsControl.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Avalonia.Controls/ItemsControl.cs b/src/Avalonia.Controls/ItemsControl.cs index 6aa4006ddb..c6b572abba 100644 --- a/src/Avalonia.Controls/ItemsControl.cs +++ b/src/Avalonia.Controls/ItemsControl.cs @@ -525,13 +525,11 @@ namespace Avalonia.Controls //We did not find an enabled first item. Move downwards until we find one. case NavigationDirection.First: direction = NavigationDirection.Down; - wrap = false; break; //We did not find an enabled last item. Move upwards until we find one. case NavigationDirection.Last: direction = NavigationDirection.Up; - wrap = false; break; }