API Reference > ui-core > Dialog > DialogProps > trapFocus trapFocus trapFocus: undefined | boolean Indicates whether the focus should be trapped within the dialog. Default: false Defined in ui/core/src/ui-core/dialog/Dialog.tsx Line 87 Last Updated: 12 June, 2024