neodrag icon indicating copy to clipboard operation
neodrag copied to clipboard

Question: Multiple windows/draggables bug (inheriting size, etc)

Open kprkr opened this issue 1 year ago • 6 comments

I currently have 2 windows on my screen that are independently dragable. Great!

However, I have noticed a few things:

  1. They seem to all inherit the largest-window sizing/width.
  2. 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?

kprkr avatar Sep 16 '23 12:09 kprkr

Any updates here?

willingtonortiz avatar Dec 14 '23 00:12 willingtonortiz

Having the same problem and i need all windows to be totally individual.

digitalit avatar Feb 25 '24 11:02 digitalit

@willingtonortiz , did you solve this or did you find another package/solution?

digitalit avatar Feb 26 '24 08:02 digitalit

@kprkr , did you solve this or did you find another package/solution?

digitalit avatar Feb 26 '24 08:02 digitalit

Thanks for opening the issue

Please provide a minimal reproduction that I can test against

PuruVJ avatar Apr 16 '24 18:04 PuruVJ

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

jgabriel98 avatar Jul 30 '24 05:07 jgabriel98