-
Notifications
You must be signed in to change notification settings - Fork 7
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
<Pane position='draggable'>
should re-parent itself like <Pane position='fixed'>
#22
Comments
Hi! Does this still happen if you move |
I just confirmed with a quick test that when you put regular DOM elements inside a Threlte Using
I can see an argument for I have to think about any unintended consequences of a change here. Since this isn't technically a bug, I hope you don't mind if I revise the title a bit for clarity. |
fixed
fixed
position='draggable'
does not re-parent itself like Pane with position='fixed'
position='draggable'
does not re-parent itself like Pane with position='fixed'
position='draggable'
should re-parent itself like Pane with position='fixed'
position='draggable'
should re-parent itself like Pane with position='fixed'
<Pane position='draggable'>
should re-parent itself like <Pane position='fixed'>
Don't mind at all. Really appreciate that you looked into it! And happy to hear it was a usage issue :) Works as expected outside the Threlte Canvas :) |
Ok, glad the workaround works for now! I'll keep this issue open since it is definitely weird that a I'm leaning towards changing the behavior of |
I am adding svelte-tweakpane to svelte 5 project. When I use position draggable then the Pane is not rendered in the DOM at all. Using position fixed works as expected.
The project is here.
In the next couple of days I can try to make a minimal reproduction :)
The text was updated successfully, but these errors were encountered: