mirror of
https://github.com/vector-im/element-call.git
synced 2026-03-10 05:57:07 +00:00
Attempt to get drag working on mobile
This commit is contained in:
@@ -600,7 +600,9 @@ export function VideoGrid({ participants }) {
|
||||
);
|
||||
|
||||
const bind = useDrag(
|
||||
({ args: [key], active, xy, movement, tap }) => {
|
||||
({ args: [key], active, xy, movement, tap, event }) => {
|
||||
event.preventDefault();
|
||||
|
||||
if (tap) {
|
||||
onTap(key);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user