diff --git a/packages/@react-aria/overlays/src/usePreventScroll.ts b/packages/@react-aria/overlays/src/usePreventScroll.ts index ad4f4cdd74e..0b9ad8825a4 100644 --- a/packages/@react-aria/overlays/src/usePreventScroll.ts +++ b/packages/@react-aria/overlays/src/usePreventScroll.ts @@ -110,7 +110,7 @@ function preventScrollMobileSafari() { let onTouchStart = (e: TouchEvent) => { // Store the nearest scrollable parent element from the element that the user touched. scrollable = getScrollParent(e.target as Element, true); - if (scrollable === document.documentElement && scrollable === document.body) { + if (scrollable === document.documentElement || scrollable === document.body) { return; }