As far as I know, the issue is caused by incorrectly setting disableBodyScroll element.
When using body-scroll-lock package on iOS, the ref element should be any ancestor of the scroll container.
I locally patch the refModal onto modal-container element and the issue is fixed.
Bug report
Describe the bug
I'm not able to scroll the modal content when the modal is opened in iOS Safari (or any webkit-based browsers on iOS).
To Reproduce
The "Modal with a lot of content" example on the doc site doesn't scroll for me.
https://react-responsive-modal.leopradel.com/#modal-with-a-lot-of-content
Expected behavior
It should scroll.
System information
Additional context
As far as I know, the issue is caused by incorrectly setting
disableBodyScroll
element. When usingbody-scroll-lock
package on iOS, the ref element should be any ancestor of the scroll container.I locally patch the
refModal
ontomodal-container
element and the issue is fixed.