supermedium / superframe

:package: A super collection of A-Frame components.
https://supermedium.com/superframe/
MIT License
1.37k stars 423 forks source link

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

Open Hulkmaster opened 5 years ago

Hulkmaster commented 5 years ago

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 commented 5 years ago

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

MichaelVonB commented 4 years ago

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

earok commented 2 years ago

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 2 years ago

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.