neodrag
neodrag copied to clipboard
Question: Multiple windows/draggables bug (inheriting size, etc)
I currently have 2 windows on my screen that are independently dragable. Great!
However, I have noticed a few things:
- They seem to all inherit the largest-window sizing/width.
- When one of them change height (due to a content-change) it causes all others to shift
This video demonstrates both these issues. Where they shift upon hiding content, as well as the change in width when the "largest" component changes/updates.
Anyway to fix mainly the width-inheritance issues. But also the windows shifting when one is changed?
Any updates here?
Having the same problem and i need all windows to be totally individual.
@willingtonortiz , did you solve this or did you find another package/solution?
@kprkr , did you solve this or did you find another package/solution?
Thanks for opening the issue
Please provide a minimal reproduction that I can test against
Thanks for opening the issue
Please provide a minimal reproduction that I can test against
Not the exact reported issue, but is probably related (problem with height|width inheritance):
The created dragable container uses its parent maxWidth or maxHeight. This would be solved if it used it's content/child dimensions
https://codesandbox.io/p/sandbox/icy-frog-96ntws