@axos-web-dev/shared-components 2.0.0-dev.scroll-fix → 2.0.0-dev.scroll-fix.2
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/Auth/ErrorAlert.js
CHANGED
|
@@ -74,8 +74,8 @@ import "../Carousel/index.js";
|
|
|
74
74
|
/* empty css */
|
|
75
75
|
import "../Chatbot/store/chat.js";
|
|
76
76
|
import "../Chatbot/Chatbot.js";
|
|
77
|
-
import "../LoadingIndicator/LoadingIndicator.css.js";
|
|
78
77
|
import "../Chatbot/Chatbot.css.ts.vanilla.css.js";
|
|
78
|
+
import "../LoadingIndicator/LoadingIndicator.css.js";
|
|
79
79
|
/* empty css */
|
|
80
80
|
import "../Chatbot/store/messages.js";
|
|
81
81
|
import { Hyperlink } from "../Hyperlink/index.js";
|
|
@@ -54,9 +54,9 @@ import "../Carousel/index.js";
|
|
|
54
54
|
/* empty css */
|
|
55
55
|
import "../Chatbot/store/chat.js";
|
|
56
56
|
import "../Chatbot/Chatbot.js";
|
|
57
|
+
import "../Chatbot/Chatbot.css.ts.vanilla.css.js";
|
|
57
58
|
import "../LoadingIndicator/LoadingIndicator.css.js";
|
|
58
59
|
import "react-use";
|
|
59
|
-
import "../Chatbot/Chatbot.css.ts.vanilla.css.js";
|
|
60
60
|
/* empty css */
|
|
61
61
|
import "../Chatbot/store/messages.js";
|
|
62
62
|
/* empty css */
|
|
@@ -3,7 +3,6 @@ import '../assets/Chatbot/ChatWindow.css';import '../assets/Typography/Typograph
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
|
-
import "./Chatbot.css.ts.vanilla.css.js";
|
|
7
6
|
/* empty css */
|
|
8
7
|
var windowStyle = "_13n1jqk1";
|
|
9
8
|
var windowExpandedStyle = "_13n1jqk2";
|
|
@@ -305,10 +305,13 @@ const MortgageRate = ({
|
|
|
305
305
|
useIsomorphicLayoutEffect(() => {
|
|
306
306
|
if (!restoreScrollOnNextRender.current) return;
|
|
307
307
|
restoreScrollOnNextRender.current = false;
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
}
|
|
308
|
+
const anchorViewport = () => {
|
|
309
|
+
const target = showingTables && containerRef.current?.nextElementSibling || containerRef.current;
|
|
310
|
+
target?.scrollIntoView({ block: "start" });
|
|
311
|
+
};
|
|
312
|
+
anchorViewport();
|
|
313
|
+
const raf = requestAnimationFrame(anchorViewport);
|
|
314
|
+
return () => cancelAnimationFrame(raf);
|
|
312
315
|
}, [hideModal, showingTables]);
|
|
313
316
|
const submitForm = async (data) => {
|
|
314
317
|
const processData = {
|
package/dist/Forms/SuccesForm.js
CHANGED
|
@@ -69,9 +69,9 @@ import "../Carousel/index.js";
|
|
|
69
69
|
/* empty css */
|
|
70
70
|
import "../Chatbot/store/chat.js";
|
|
71
71
|
import "../Chatbot/Chatbot.js";
|
|
72
|
+
import "../Chatbot/Chatbot.css.ts.vanilla.css.js";
|
|
72
73
|
import "../LoadingIndicator/LoadingIndicator.css.js";
|
|
73
74
|
import "react-use";
|
|
74
|
-
import "../Chatbot/Chatbot.css.ts.vanilla.css.js";
|
|
75
75
|
/* empty css */
|
|
76
76
|
import "../Chatbot/store/messages.js";
|
|
77
77
|
/* empty css */
|
package/package.json
CHANGED