mp-react-components
mp-react-components copied to clipboard
Color of objects does not revert to original color after hover interaction concluded
Creating this issue to track.
Bug likely somewhere in mouseMoveListener.
Anecdotally, seems to occur more often with larger scenes / smaller viewports, or rapid mouse movements.
Resolutions could be:
- Fixing underlying bug, e.g. ensuring all objects returned to original color when hover interaction concluded.
- Simply removing the change in color, e.g. this line.
Suggestion to review Three.js docs for recommended way to implement this feature.
Adding a note that this is the first time I've looked at this code in a while, it looks like it needs a bit of a tidy up as well. There are some half-implemented features there related to animation support that should either be linked to issues (to be fully implemented at a later date) or removed in the interests of having a cleaner code base.