supermedium/superframe

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

Hulkmaster opened this issue · 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

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

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

earok commented

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)

cvisl commented

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.