[fix] pointer capture logging when debug flag is off (#2850)
This PR fixes a bug where pointer capture would log when the debug flag was off. ### Change Type - [x] `patch` — Bug fix
This commit is contained in:
parent
ba47cd08cc
commit
dd67577fea
1 changed files with 1 additions and 1 deletions
|
@ -74,9 +74,9 @@ export function releasePointerCapture(
|
|||
} else {
|
||||
console.warn('Release without capture')
|
||||
}
|
||||
}
|
||||
console.warn('releasePointerCapture called on element:', element, event)
|
||||
}
|
||||
}
|
||||
|
||||
/** @public */
|
||||
export const stopEventPropagation = (e: any) => e.stopPropagation()
|
||||
|
|
Loading…
Reference in a new issue