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

Clarify what event should be fired on locked state #34

Open
EiraGe opened this issue Jun 29, 2018 · 2 comments
Open

Clarify what event should be fired on locked state #34

EiraGe opened this issue Jun 29, 2018 · 2 comments

Comments

@EiraGe
Copy link
Contributor

EiraGe commented Jun 29, 2018

The spec about whether we should fire each event is vague:

in the locked state the user agent must fire all relevant user generated MouseEvent events (for example: mousemove, mousedown, mouseup, click, and wheel) to the target of pointer lock.
and
Events that require the concept of a mouse cursor must not be dispatched (for example: mouseover, mouseout, drag, and drop).

It didn't mentioned contextmenu and auxclick events. I think it's reasonable to dispatch "auxclick" but not "contextmenu". Maybe the spec should have a clearer list of these events?

@NavidZ
Copy link
Member

NavidZ commented Jun 29, 2018

I agree that having a very specific set would be better.
So aside from auxclick and pointermove/down/up is there anything else?

@EiraGe
Copy link
Contributor Author

EiraGe commented Jun 29, 2018

dblclick?

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

2 participants