diff --git a/src/textual/screen.py b/src/textual/screen.py index 713f947a0..2f110c2ff 100644 --- a/src/textual/screen.py +++ b/src/textual/screen.py @@ -263,7 +263,7 @@ class Screen(Widget): for candidate in reversed( focusable_widgets[widget_index + 1 :] + focusable_widgets[:widget_index] ): - if candidate not in avoiding and candidate.can_focus: + if candidate not in avoiding: chosen = candidate break