We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bee559 commit 8f102fcCopy full SHA for 8f102fc
1 file changed
packages/devtools/src/components/trigger.tsx
@@ -187,7 +187,8 @@ export const Trigger = (props: {
187
if (!dragging) return
188
dragging = false
189
const el = buttonRef()
190
- if (el?.hasPointerCapture(e.pointerId)) el.releasePointerCapture(e.pointerId)
+ if (el?.hasPointerCapture(e.pointerId))
191
+ el.releasePointerCapture(e.pointerId)
192
// If the pointer sat still before release, the last flick velocity is
193
// stale — don't launch a throw the user didn't actually make.
194
if (e.timeStamp - lastT > 50) {
0 commit comments