I have a layout with two columns. In the left column, I render the three-js scene and in the right column a HTML div that shrinks/expands its width depending on the state of a button.
When clicking a button, box-select of the
The problem: I have to wait until the right column is fully expanded and the canvas size updated. If I start dragging the selection box too early, the
three
version: 0.152.2@react-three/fiber
version: 8.14.3@react-three/drei
version: 9.104.1node
version: 20.11.1npm
(oryarn
) version: 10.2.4Problem description:
I have a layout with two columns. In the left column, I render the three-js scene and in the right column a HTML div that shrinks/expands its width depending on the state of a button.
When clicking a button, box-select of the
The problem: I have to wait until the right column is fully expanded and the canvas size updated. If I start dragging the selection box too early, the
Select_bug.webm
Suggested solution:
I thought of adding an "enabled"-flag to the