Open oukunanan opened 2 years ago
I have the same problem :/
I found the problem. Horizontal Scroll doesn't work when expandOnContentDrag is set to true.
scrollLocking set to false fixed the problem for me
I forced overflow: hidden in body when bottom-sheet is opened, and it seems to work well in my case.
<>
<BottomSheet open={open} {...rest}>
{children}
</BottomSheet>
{open && (
<style jsx global>{`
body {
overflow: hidden !important;
}
#root {
pointer-events: none;
}
`}</style>
)}
</>
It's working great on the desktop version but not for the IOS browser.
I updated the OS to the latest version.
Here is the example: https://codesandbox.io/s/wonderful-paper-hdjjd?file=/src/App.js