mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-13 23:19:11 +01:00
Update src/components/popout/positions/FloatingCardMobilePosition.tsx
This commit is contained in:
parent
5dfeeadbb8
commit
fcb24c783c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user