disableAutoFocus

If true, the focus trap will not automatically shift focus to itself when it opens, and replace it to the last focused element when it closes. This also works correctly with any focus trap children that have the disableAutoFocus prop.

Generally this should never be set to true as it makes the focus trap less accessible to assistive technologies, like screen readers.