Update src/components/popout/positions/FloatingCardMobilePosition.tsx

This commit is contained in:
Jip Frijlink 2023-04-14 21:40:55 +02:00 committed by GitHub
parent 5dfeeadbb8
commit fcb24c783c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -33,7 +33,6 @@ export function FloatingCardMobilePosition(props: MobilePositionProps) {
const isInScrollable = (event.target as HTMLDivElement).closest(
".overflow-y-auto"
);
// console.log(my);
if (isInScrollable) return; // Don't attempt to swipe the thing away if it's a scroll area unless the scroll area is at the top and the user is swiping down
const height = cardRect?.height ?? 0;