superframe icon indicating copy to clipboard operation
superframe copied to clipboard

[aframe-orbit-controls] cursor is always attached to body

Open Hulkmaster opened this issue 5 years ago • 4 comments

aframe-orbit-controls applies "grab" cursor on body

But aframe supports embedded so when your scene is not that big, you don't want "grab cursor" to be attached to the whole page

so it would be good if cursor would be applied only for canvas of scene or even better: to be able to specify to which element cursor should be attached

Hulkmaster avatar Apr 16 '19 13:04 Hulkmaster

actually wanted to do a PR, but have no write rights :c

Hulkmaster avatar Apr 16 '19 14:04 Hulkmaster

Hey, having the same problem. Did you fix it?

MichaelVonB avatar Jan 09 '20 09:01 MichaelVonB

Having the same issue (events are bound to change the cursor to "grab/grabbing" when the mouse is used, unable to remove these events after the a-frame scene is closed)

earok avatar Oct 27 '21 23:10 earok

Still an issue to date. It should just apply it to the canvas/scene element instead of the whole body. It is not breaking but it is suggesting the wrong things to the user if there is one aframe scene with orbit controls somewhere on the webpage.

cvisl avatar May 06 '22 15:05 cvisl