@akropolys/kiku 1.6.9 → 1.6.10
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.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -0
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +2 -2
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1823,6 +1823,13 @@ function ChatModal({
|
|
|
1823
1823
|
bottomRef.current?.scrollIntoView({ behavior: "smooth" });
|
|
1824
1824
|
}
|
|
1825
1825
|
}, [messages, loading, selectedProduct]);
|
|
1826
|
+
useEffect3(() => {
|
|
1827
|
+
const prev = document.body.style.overflow;
|
|
1828
|
+
document.body.style.overflow = "hidden";
|
|
1829
|
+
return () => {
|
|
1830
|
+
document.body.style.overflow = prev;
|
|
1831
|
+
};
|
|
1832
|
+
}, []);
|
|
1826
1833
|
useEffect3(() => {
|
|
1827
1834
|
const h = (e) => {
|
|
1828
1835
|
if (e.key !== "Escape") return;
|