Skip to content

Commit

Permalink
fix: Fix rare scroll behavior issue with mobile view on ios
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Feb 11, 2024
1 parent 04ac06c commit 62c8866
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/components/ChatBotContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -498,11 +498,12 @@ const ChatBotContainer = ({ flow }: { flow: Flow }) => {
<>
<style>
{`
body {
overflow: hidden;
touch-action: none;
}
`}
html {
overflow: hidden !important;
touch-action: none !important;
scroll-behavior: auto !important;
}
`}
</style>
<div
style={{
Expand Down

0 comments on commit 62c8866

Please sign in to comment.