leva icon indicating copy to clipboard operation
leva copied to clipboard

Conditional Fields (get) => get('check') not working with multiple panels

Open tabetVercetti opened this issue 9 months ago • 1 comments

Hello, in my r3f app, i create multiple leva panels; however, i noticed that conditionally rendering fields isn't working as it should.

i've set up a sandbox that recreates the issue. At the bottom you'll find two buttons, one for the box's panel and the other for the ground. Each panel has field that should appear conditionally when "moreSetting" is true.

Please have a look and let me know if this is truly a bug or am I doing something wrong? Thank you

Dependencies: “@react-three/drei”: “^10.0.4”, “@react-three/fiber”: “^9.1.0”, “@react-three/postprocessing”: “^3.0.4”, “leva”: “^0.10.0”, “next”: “^15.2.1”, “postprocessing”: “^6.37.1”, “react”: “^19.0.0”, “react-dom”: “^19.0.0”, “three”: “^0.174.0” "zustand": "5.0.3"

tabetVercetti avatar Apr 07 '25 14:04 tabetVercetti

You might be interested in folders?

xiduzo avatar Jul 10 '25 12:07 xiduzo