Closed kasra0 closed 9 months ago
It seems that this is not a bug of Tweakpane. Can you see a drop shadow between the second width
field and the third width
field? This indicates that multiple panes are created and overwrapped at the same place.
Here is an small example that uses your code, but the problem didn't occur. https://codesandbox.io/s/tweakpane-issue-581-5lnhgk?file=/src/index.ts
I guess that this is caused by calling this function many times. You should create a single pane and reuse it to prevent the pane duplication.
Feel free to reopen the issue if you have any updates.
Hi,
Version : 4.0.1
These Two screenshots show the problem.
For some reason the controls after are duplicated. This happens specifically when the length of the tabs is not the same.
Maybe I have to destroy a previous state I don't know... Am I missing something or it's a bug ? Thanks