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

Enable rearranging of tiles via drag and drop #30

Open
danielgolden opened this issue Nov 15, 2019 · 3 comments
Open

Enable rearranging of tiles via drag and drop #30

danielgolden opened this issue Nov 15, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@danielgolden
Copy link
Contributor

Summary

It would be nice to be able to rearrange the order that each tile shows up in the view, and I think the most intuitive way to do this would be to enable drag and drop.

Desired Behaviour

When you click and hold on a tile you should able to move it to a different position along a predefined grid. When dropped over another existing tile, the other existing tile should move out of it's way to make space for the one in your hand.

Possible Solution

React DND

Additional context

Originally Freddy's idea. Good idea so logging it down here.

@norbertsuski
Copy link
Contributor

It is easy to implement with proposed library, but requires at least version 16.8 of React, so once it's done we can implement it.

@tangollama
Copy link
Contributor

This is going to be more efficient and best served by a React version upgrade that allows us to make use of hooks. Since that's not feasible ATM, I'm going to move this out of the 1.0 project.

@carlos-r-mendoza
Copy link

@aso1124 this would be a great enhancement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

5 participants