Hey there! Thanks for this awesome component, it's incredibly useful!
I need to apply click-drag behaviors conditionally, and so I forked and added a small change that allows click-drag to be disabled by setting the click-drag attribute to enabled: false. There are other ways of accomplishing this, so I'm open to other options, but this was the cleanest in my case, so I thought I'd PR it.
Steps to test
[ ] Check out this branch.
[ ] Start the dev server (yarn start or npm run start).
[ ] Navigate to the basic example.
[ ] Note that you can click/drag the sphere, cylinder, and cube, but not the plane.
Hey there! Thanks for this awesome component, it's incredibly useful!
I need to apply
click-drag
behaviors conditionally, and so I forked and added a small change that allowsclick-drag
to be disabled by setting theclick-drag
attribute toenabled: false
. There are other ways of accomplishing this, so I'm open to other options, but this was the cleanest in my case, so I thought I'd PR it.Steps to test
yarn start
ornpm run start
).