Skip to content

Commit dfb0110

Browse files
committed
words
1 parent f2647bb commit dfb0110

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/textual/dom.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,10 +480,10 @@ def trap_focus(self, trap_focus: bool = True) -> None:
480480
"""Trap the focus.
481481
482482
When applied to a container, this will limit tab-to-focus to the children of that
483-
container (assuming focus is within that container).
483+
container (once focus is within that container).
484484
485485
This can be useful for widgets that act like modal dialogs, where you want to restrict
486-
the user the controls within the dialog.
486+
the user to the controls within the dialog.
487487
488488
Args:
489489
trap_focus: `True` to trap focus. `False` to restore default behavior.

0 commit comments

Comments
 (0)