@wix/form-public 0.225.0 → 0.226.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -33192,7 +33192,9 @@ var useSubmit = ({ validateAndScrollToError, submitAction, onSubmit, onSubmitSuc
33192
33192
  } else if (action === SubmitSuccessAction.REDIRECT) {
33193
33193
  redirectToExternalUrl(submitSettings?.redirectOptions);
33194
33194
  } else if (action === SubmitSuccessAction.POPUP) {
33195
- openPopup?.(submitSettings?.popupOptions?.popupId ?? "", {});
33195
+ setTimeout(() => {
33196
+ openPopup?.(submitSettings?.popupOptions?.popupId ?? "", {});
33197
+ }, 500);
33196
33198
  }
33197
33199
  setSubmitFailureCode(void 0);
33198
33200
  setSubmitFailureMessage(void 0);