Skip to content

Commit

Permalink
Merge branch 'docs-updates-11sep24' of github.com:Textualize/textual …
Browse files Browse the repository at this point in the history
…into docs-updates-11sep24
  • Loading branch information
darrenburns committed Sep 30, 2024
2 parents cd3e238 + e12bbd6 commit 2c28b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ See the [style reference](../styles/index.md) for details.
Widgets can have a list of associated key [bindings](../guide/input.md#bindings),
which let them call [actions](../guide/actions.md) in response to key presses.

A widget is only able to handle key presses if it or one of its descendants has [focus](../guide/input.md#input-focus).
A widget is able to handle key presses if it or one of its descendants has [focus](../guide/input.md#input-focus).

Widgets aren't focusable by default.
To allow a widget to be focused, we need to set `can_focus=True` when defining a widget subclass.
Expand Down

0 comments on commit 2c28b31

Please sign in to comment.