Hi! I am having a bug with drei Html that I haven’t been able to figure out. I have a mesh that you can click on and then in a completely separate component some html. You seem to be able to “click” on the mesh from inside the Html even though it is not overlaying it at all. It’s almost as if there is a small invisible version of my object inside the html. I’ve forked one of drei’s html examples on CodeSandbox to replicate the issue. If you scroll down on the laptop you can click on the mesh under where the paintbrushes are. You seem to have to click on the mesh once before you can click on it within the laptop. Thanks for any advice
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to add mose events to <Html/> | 5 | 599 | May 14, 2024 | |
| Is there a way to make html text clickable over three.js viewport? | 1 | 1331 | August 8, 2021 | |
| Html in a 3d environment | 2 | 844 | June 21, 2024 | |
| R3f. drei. Html elemnt has black,see trough other objets background | 0 | 412 | October 22, 2023 | |
| Problem with html | 3 | 1504 | April 18, 2023 |