Skip to content

Commit

Permalink
fix: fix iOS problem with scroll not working in Safari (#464)
Browse files Browse the repository at this point in the history
Co-authored-by: voralv <vladimir.voral@socialbakers.com>
  • Loading branch information
vvoral and voralv committed Jan 8, 2021
1 parent 3e9201d commit 0e38605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react-responsive-modal/src/index.tsx
Expand Up @@ -303,6 +303,7 @@ export const Modal = ({
}}
/>
<div
ref={refModal}
className={cx(
classes.modalContainer,
center && classes.modalContainerCenter,
Expand All @@ -313,7 +314,6 @@ export const Modal = ({
onClick={handleClickOverlay}
>
<div
ref={refModal}
className={cx(classes.modal, classNames?.modal)}
style={{
animation: `${modalAnimation} ${animationDuration}ms`,
Expand Down

0 comments on commit 0e38605

Please sign in to comment.