diff --git a/packages/embeds/js/src/features/popup/components/Popup.tsx b/packages/embeds/js/src/features/popup/components/Popup.tsx index 3a0f62882a2..e5b8ef794f3 100644 --- a/packages/embeds/js/src/features/popup/components/Popup.tsx +++ b/packages/embeds/js/src/features/popup/components/Popup.tsx @@ -90,7 +90,7 @@ export const Popup = (props: PopupProps) => { const openBot = () => { setIsBotOpened(true) popupProps.onOpen?.() - document.body.style.cssText += 'overflow: hidden !important'; + document.body.style.setProperty('overflow', 'hidden', 'important') document.addEventListener('pointerdown', closeBot) }