Using the usePreventScroll hook leads to issues when using inputs within the sheet. The virtual keyboard of mobile devices will hide the actual input that is focused.
The scroll-locking behavior of react-modal-sheet is somewhat opinionated, which is probably fine for most use cases, but giving users the chance to opt-out of the scroll-locking behavior, will definitely increase the adoption of the library
Using the
usePreventScroll
hook leads to issues when using inputs within the sheet. The virtual keyboard of mobile devices will hide the actual input that is focused.The scroll-locking behavior of react-modal-sheet is somewhat opinionated, which is probably fine for most use cases, but giving users the chance to opt-out of the scroll-locking behavior, will definitely increase the adoption of the library
fixes #135