Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
m-akinc committed Feb 22, 2024
1 parent 90d4cc7 commit 8a29926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nimble-components/src/modal/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export abstract class Modal<CloseReason = void> extends FoundationElement {
// - the browser implements dialogs with the CloseWatcher API, and
// - the user presses ESC without first interacting with the dialog (e.g. clicking, scrolling),
// the cancel event is not fired, but the close event still is, and the dialog just closes.
this.doResolveShow(UserDismissed);
this.finishClosing(UserDismissed);
}
}

Expand Down

0 comments on commit 8a29926

Please sign in to comment.