mirror of
https://github.com/suitenumerique/meet.git
synced 2026-09-01 21:28:00 +00:00
fixup! ♻️(frontend) refactor screen share zoom pan with useMove and imperative DOM updates
This commit is contained in:
@@ -69,7 +69,9 @@ export const ScreenShareZoomableVideo = ({
|
|||||||
overflow: 'hidden',
|
overflow: 'hidden',
|
||||||
position: 'relative',
|
position: 'relative',
|
||||||
userSelect: 'none',
|
userSelect: 'none',
|
||||||
touchAction: 'none',
|
// Leaves the browser's native pinch-zoom available on touch devices
|
||||||
|
// while still routing single-pointer drags to useMove for panning.
|
||||||
|
touchAction: 'pinch-zoom',
|
||||||
})}
|
})}
|
||||||
{...zoom.moveProps}
|
{...zoom.moveProps}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user