mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Update src/components/popout/positions/FloatingCardMobilePosition.tsx
This commit is contained in:
parent
5dfeeadbb8
commit
fcb24c783c
1 changed files with 0 additions and 1 deletions
|
@ -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…
Reference in a new issue