(e)
| 414 | let {longPressProps} = useLongPress({ |
| 415 | isDisabled: !longPressEnabled, |
| 416 | onLongPress(e) { |
| 417 | if (e.pointerType === 'touch') { |
| 418 | onSelect(e); |
| 419 | manager.setSelectionBehavior('toggle'); |
| 420 | } |
| 421 | } |
| 422 | }); |
| 423 | |
| 424 | // Prevent native drag and drop on long press if we also select on long press. |
nothing calls this directly
no test coverage detected