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

Inplace placeholder #2550

Open
karesztrk opened this issue Nov 20, 2023 · 4 comments
Open

Inplace placeholder #2550

karesztrk opened this issue Nov 20, 2023 · 4 comments

Comments

@karesztrk
Copy link

Is there a way to render placeholders at the position of the Draggable?
My customer would like not to collapse the list when the dragging happens. Instead, we would add a placeholder indicating that the item is being dragged.

Does this library support this?

@Cillivian
Copy link

I'm concerned about this too.

@nguyennhantg2
Copy link

@karesztrk
Copy link
Author

Hey, @nguyennhantg2. Unfortunately no.

  • If we have two lists: [Fruits][Bowl].
  • I want to drag items from [Fruits] to the [Bowl] and not vice-versa.
  • And I also would like to keep the original height of the [Fruits] forever.
    • To maintain that height, I would add a placeholder. For example, an item with less opacity, which would essentially mean that it's used and cannot be used again.
    • Its like a drag-n-drop item factory that holds templates.
  • The [Bowl] would have a dynamical height based on what fruits it contains.

Does it makes sense?

@reemsa
Copy link

reemsa commented May 13, 2024

Are there any updates about this?
it's exactly what I need @karesztrk

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

No branches or pull requests

4 participants