bhl-forms 0.0.19 → 0.0.20
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/bhl-forms.es.js +2 -3
- package/dist/bhl-forms.iife.js +1 -1
- package/dist/bhl-forms.umd.js +1 -1
- package/package.json +1 -1
package/dist/bhl-forms.es.js
CHANGED
|
@@ -10703,11 +10703,10 @@ const fireStepEvent = (formNode) => (stepResult, stepHistory2, stepQueue2) => {
|
|
|
10703
10703
|
if (!stepResult) {
|
|
10704
10704
|
return;
|
|
10705
10705
|
}
|
|
10706
|
-
if (formNode.id) {
|
|
10706
|
+
if (formNode.id && isMobile) {
|
|
10707
10707
|
const form2 = document.getElementById(formNode.id);
|
|
10708
|
-
const toTop = isMobile ? true : false;
|
|
10709
10708
|
if (form2)
|
|
10710
|
-
form2.scrollIntoView(
|
|
10709
|
+
form2.scrollIntoView(true);
|
|
10711
10710
|
}
|
|
10712
10711
|
const form_id = formNode.attrs.formId || window.location.hostname + "-" + formNode.id;
|
|
10713
10712
|
if (typeof window._analytics !== "undefined") {
|