Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Hulkmaster opened this issue Apr 16, 2019 · 4 comments
Open

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

Hulkmaster opened this issue Apr 16, 2019 · 4 comments

Comments

@Hulkmaster
Copy link

Hulkmaster commented Apr 16, 2019

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
Copy link
Author

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

@MichaelVonB
Copy link

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

@earok
Copy link

earok commented Oct 27, 2021

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
Copy link

cvisl commented May 6, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants