@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 CHANGED
@@ -1855,6 +1855,13 @@ function ChatModal({
1855
1855
  bottomRef.current?.scrollIntoView({ behavior: "smooth" });
1856
1856
  }
1857
1857
  }, [messages, loading, selectedProduct]);
1858
+ (0, import_react5.useEffect)(() => {
1859
+ const prev = document.body.style.overflow;
1860
+ document.body.style.overflow = "hidden";
1861
+ return () => {
1862
+ document.body.style.overflow = prev;
1863
+ };
1864
+ }, []);
1858
1865
  (0, import_react5.useEffect)(() => {
1859
1866
  const h = (e) => {
1860
1867
  if (e.key !== "Escape") return;