Browse Source
Merge pull request #4221 from pr8x/hotfix-tabnav
Checking for IsTabStop
pull/4241/head
Steven Kirk
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
src/Avalonia.Input/Navigation/TabNavigation.cs
|
|
|
@ -219,7 +219,9 @@ namespace Avalonia.Input.Navigation |
|
|
|
|
|
|
|
if (parent != null) |
|
|
|
{ |
|
|
|
if (direction == NavigationDirection.Previous && parent.CanFocus()) |
|
|
|
if (direction == NavigationDirection.Previous && |
|
|
|
parent.CanFocus() && |
|
|
|
KeyboardNavigation.GetIsTabStop((InputElement) parent)) |
|
|
|
{ |
|
|
|
return parent; |
|
|
|
} |
|
|
|
|