Skip to content
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

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

Open
kprkr opened this issue Sep 16, 2023 · 6 comments
Open

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

kprkr opened this issue Sep 16, 2023 · 6 comments

Comments

@kprkr
Copy link

kprkr commented Sep 16, 2023

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?

@willingtonortiz
Copy link

Any updates here?

@digitalit
Copy link

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

@digitalit
Copy link

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

@digitalit
Copy link

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

@PuruVJ
Copy link
Owner

PuruVJ commented Apr 16, 2024

Thanks for opening the issue

Please provide a minimal reproduction that I can test against

@jgabriel98
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants