Skip to content

Forward events from scroll area to canvas #1110

Answered by drcmda
afk-mario asked this question in Q&A
Discussion options

You must be logged in to vote

this will all get easier in v6 which is using addeventlistener instead of react events. you could theoretically already try it.

in this example for instance it's adding events to document.body https://codesandbox.io/s/gltf-simple-example-v6-forked-o8mnv?file=/src/index.js

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@afk-mario
Comment options

@drcmda
Comment options

Answer selected by afk-mario
Comment options

You must be logged in to vote
1 reply
@afk-mario
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants