-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple panes on a page #42
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm trying to add multiple tweak panes on a page, independent of each other, just separate demos stacked.
I figured I can pass a container via settings and this attaches the pane to a custom element, but what seems to happen is after the first instance, all tweak-panes are mounted to the same container regardless of their respective hook configuration.
I'm not sure if that's a bug, a feature or if I'm missing something, but I would certainly appreciate any help.
You can see a demo of the issue here:
https://scramble-git-demos.a7sc11u.vercel.app/
And here's my repo (main.jsx and typewriter.jsx) are the layouts that use useTweaks
https://github.com/a7sc11u/scramble-site/blob/demos/src/
Thanks in advance!
P.S. Thank you for putting this library together, I love it!
The text was updated successfully, but these errors were encountered: