Git Product home page Git Product logo

Comments (7)

robksawyer avatar robksawyer commented on August 18, 2024

I'm running into the same issue.

See https://codesandbox.io/s/bold-http-i0lmf?file=/src/App.js

from drei.

stephencorwin avatar stephencorwin commented on August 18, 2024

@acolbourn
It seems to be an issue that only occurs when using these materials in combination with the <Text /> component.
https://codesandbox.io/s/r3f-drei-meshwobblematerial-forked-2r443?file=/src/App.js

This is running 1.2.0 and by removing the material from <Text />, the wobble works when clicking on the <Donut /> or <Image />.

For debugging purposes, this is the comparison link between 0.0.67 and 0.0.71

from drei.

stephencorwin avatar stephencorwin commented on August 18, 2024

Possibly related: #20

from drei.

lojjic avatar lojjic commented on August 18, 2024

This appears to be a shortcoming of how troika-three-text extends the material; it assumes the base material's class was a classic JS constructor function, not a ES2015 class.

I've created protectwise/troika#79 to see if I can fix this on my side.

from drei.

lojjic avatar lojjic commented on August 18, 2024

This should be fixed by the dependency update in #150

from drei.

johnmarinelli avatar johnmarinelli commented on August 18, 2024

this is fixed as of [email protected], this issue can be closed

from drei.

acolbourn avatar acolbourn commented on August 18, 2024

Awesome, thank you!

from drei.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.