THREE.Interactive icon indicating copy to clipboard operation
THREE.Interactive copied to clipboard

mouseup vs. mousedown selectivity

Open psytron opened this issue 7 months ago • 4 comments

I'm adding listeners to objects in a loop like this:

ref.addEventListener('mousedown', this.fireClickStarting );
ref.addEventListener('mouseup', this.fireClickEnding );

interactionManager.add( ref )

'mousedown' activates correctly only when clicked object ref
but 'mouseup' activates everywhere to all clicks in whole scene

This worked correctly in previous THREE REV, so perhaps it is a THREE.js R165 interaction

psytron avatar Jul 11 '24 19:07 psytron