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

Support mousemove events even when not in browsing mode #16

Open
marcofugaro opened this issue Jan 10, 2020 · 1 comment
Open

Support mousemove events even when not in browsing mode #16

marcofugaro opened this issue Jan 10, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@marcofugaro
Copy link

marcofugaro commented Jan 10, 2020

It would be great to have some backgrounds that are interactive just with the mousemove events, for example this demo or this one. Or even this one but with the mousemove instead of click.

The mosemove interaction would work always, even when not in browsing mode.

@sindresorhus
Copy link
Owner

To solve this, we could place a transparent window at the top-most level covering the same frame as the web view, make all events pass through and capture mouse move events, then forward those events to the web view.

@sindresorhus sindresorhus added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jan 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants