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

Open
#231 4 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend, web-dev

Research direction

Start at the aframe-orbit-controls component's cursor handling and reproduce the behavior with an embedded A-Frame scene. Check how the grab cursor is applied to body, then determine whether it can be limited to the scene canvas or configured for another element; done means the page cursor is unaffected outside the selected element.

Written by the indexing model from the issue text.

Description

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

Dominant language
JavaScript
Stars
1.4k
Forks
425
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from supermedium/superframe

All issues in supermedium/superframe

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.