You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because of a difference in how WPF and Avalonia handle IsEnabled. In WPF if reflects both the enabled state of the actual control and the effectively enabled state which comes from ancestor controls. In Avalonia that effectively enabled state is exposed on a different property: IsEffectivelyEnabled.
When I ported the tab navigation code from WPF, I didn't take that into account. Will fix.
@danwalmsley I can't repro this happening with invisible controls, do you have a repro?
Describe the bug
Controls can be focused using the tab key even though their parent is disabled.
To Reproduce
If you do this:
Then the TextBox cannot be focused, but the AutoCompleteBox can.
Expected behavior
Child elements of a disabled parent should not be focusable.
Desktop
Additional context
This worked correctly in 0.10.6.
The text was updated successfully, but these errors were encountered: