We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5470245 commit 3588c9cCopy full SHA for 3588c9c
src/textual/dom.py
@@ -479,7 +479,8 @@ def workers(self) -> WorkerManager:
479
def trap_focus(self, trap_focus: bool = True) -> None:
480
"""Trap the focus.
481
482
- When applied to a container, pressing tab to change focus will be restricted to that container.
+ When applied to a container, pressing tab to change focus will be limited to the container's
483
+ children if one of the children currently has focus.
484
485
Args:
486
trap_focus: `True` to trap focus. `False` to restore default behavior.
0 commit comments