Skip to content

Commit 67add9d

Browse files
committed
feat(fab): prevent default when touchmove
1 parent 3f5158c commit 67add9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/fab/Fab.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ const Fab: React.FC<FabProps> = forwardRef((props) => {
8282
};
8383

8484
const onTouchMove = (e: React.TouchEvent<HTMLDivElement>) => {
85-
// e.stopPropagation();
86-
// e.preventDefault?.();
85+
e.stopPropagation();
86+
e.preventDefault?.();
8787

8888
if (!props.draggable) {
8989
return;

0 commit comments

Comments
 (0)