fix: fixed issue of unable to call handle submit function on button click (#656)

This commit is contained in:
sundasnoreen12
2023-10-25 22:58:46 +05:00
committed by GitHub
parent 0679022f7a
commit a69711942b
3 changed files with 5 additions and 5 deletions

View File

@@ -1,8 +1,11 @@
@import "./export-stepper/ExportStepper";
@import "./export-footer/ExportFooter"; @import "./export-footer/ExportFooter";
.export { .export {
.help-sidebar { .help-sidebar {
margin-top: 7.188rem; margin-top: 7.188rem;
} }
.pgn__stepper-header-step-list {
flex-direction: column;
}
} }

View File

@@ -1,3 +0,0 @@
.pgn__stepper-header-step-list {
flex-direction: column;
}

View File

@@ -27,7 +27,7 @@ const AppConfigFormSaveButton = ({ intl, labelText }) => {
// cancelable: (optional) a Boolean indicating whether the event can be canceled. The default is false. // cancelable: (optional) a Boolean indicating whether the event can be canceled. The default is false.
// cancelable: true cancels the untrusted event and safari, chrome cancel the untrusted event by default // cancelable: true cancels the untrusted event and safari, chrome cancel the untrusted event by default
formRef.current.dispatchEvent(new Event('submit', { formRef.current.dispatchEvent(new Event('submit', {
cancelable: true, cancelable: true, bubbles: true,
})); }));
}, [formRef]); }, [formRef]);