Escape and outside dismissal
Configure Escape and backdrop dismissal independently and observe the boolean result.
Dismissal behavior
Open each prompt and try its configured Escape and backdrop behavior. Dismissal always resolves false.
No prompt has been opened.
const result = await feedback.confirm({
title: 'Review these changes?',
closeOnEscape: false,
outsidePress: true,
})
// Escape stays open; clicking outside resolves false.This demo uses a local, temporary action. It does not send data or write to a service.