V2 to V3
[BREAKING CHANGE] Drop support for 'both' option in detect param
'both' option in detect paramBefore
const bind = useLongPress(() => console.log('Long pressed'), {
detect: 'both',
})After
const bind = useLongPress(() => console.log('Long pressed'), {
detect: 'pointer',
})[BREAKING CHANGE] Typings and param values
Last updated