Skip to content

Commit

Permalink
Update Popup.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishi Raj Jain authored Oct 16, 2023
1 parent cea53bf commit a3f4b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/embeds/js/src/features/popup/components/Popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit a3f4b3c

Please sign in to comment.