Skip to content

Commit c29e902

Browse files
committed
missing callback
1 parent 902ebe9 commit c29e902

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/feedback/src/widget/createWidget.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ export function createWidget({ shadow, options, attachTo }: CreateWidgetParams):
151151
onClosed: () => {
152152
showActor();
153153
isDialogOpen = false;
154+
155+
if (options.onDialogClose) {
156+
options.onDialogClose();
157+
}
154158
},
155159
onCancel: () => {
156160
hideDialog();

0 commit comments

Comments
 (0)