tapOutsideClick
Called when the user taps outside the modal content area. The intercepting layer always captures all taps regardless of this value, preventing clicks from passing through to screens behind the modal.
Defaults to null — tapping outside does nothing. Override to provide custom behaviour such as dismissing the modal or showing a confirmation prompt. Programmatic dismissal via navigateBack or navigation { } always works regardless of this value.
Example:
override val tapOutsideClick: (suspend StoreAccessor.() -> Unit) = { navigateBack() }Content copied to clipboard