setOutsideTouchEnabled

Controls interaction with content outside an opened drawer.

When disabled, the opened drawer is modal: focus and accessibility are restricted to it, back handling closes it, and an outside touch requests closure. Updates those policies immediately.

Parameters

enabled

true to allow outside interaction, false for modal behavior.