Skip to content

Commit 61b02be

Browse files
committed
Do not release
1 parent 9637418 commit 61b02be

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

packages/design-system/src/components/primitives/numeric-gesture-control.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -450,10 +450,6 @@ const requestPointerLock = (
450450
state.pointerCaptureRequested = true;
451451
requestPointerLockSafe(targetNode)
452452
.then(() => {
453-
if (targetNode.hasPointerCapture(pointerId)) {
454-
targetNode.releasePointerCapture(pointerId);
455-
}
456-
457453
state.pointerCaptureRequested = false;
458454
const cursorNode =
459455
(targetNode.ownerDocument.querySelector(

0 commit comments

Comments
 (0)