pmndrs / leva

🌋 React-first components GUI
https://leva.pmnd.rs
MIT License
5.03k stars 200 forks source link

Vertical dragging on Vector inputs #487

Open Knevari opened 9 months ago

Knevari commented 9 months ago

How can I approach adding vertical dragging on Vector3 inputs? I looked into the storybook and it doesn't seem to have an example for this use case. Am I able to create a modified version of the native input which supports custom functionality?

high5dev commented 1 week ago

How can I drag and drop an image on a 3d model with this Leva? I looked at the storybook. https://leva.pmnd.rs/?path=/story/misc-controlled-inputs--on-change-and-set&globals=backgrounds.value:!hex(333333);backgrounds.grid:false There's no such control, only for vector 2