Skip to content

Bug - Drag & Drop - Doesn't Seem to Be Functioning Correctly With Horizontally Stacked Items #12066

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

Closed
jaredmahan opened this issue Jul 4, 2018 · 4 comments · Fixed by #12104
Assignees
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@jaredmahan
Copy link

jaredmahan commented Jul 4, 2018

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Drag and drop should work as it does with vertically stacked items

What is the current behavior?

When you try to drag across to order horizontal items you see strange behavior.

What are the steps to reproduce?

See link below: https://stackblitz.com/edit/angular-basic-horizontal-drag-drop

What is the use-case or motivation for changing an existing behavior?

We need to be able to utilize drag and drop for items that are stacked horizontally not just vertically

@jaredmahan jaredmahan changed the title Drag& Drop - Doesn't Seem to Be Functioning Correctly With Horizontally Stacked Items Drag & Drop - Doesn't Seem to Be Functioning Correctly With Horizontally Stacked Items Jul 4, 2018
@jaredmahan jaredmahan changed the title Drag & Drop - Doesn't Seem to Be Functioning Correctly With Horizontally Stacked Items Bug - Drag & Drop - Doesn't Seem to Be Functioning Correctly With Horizontally Stacked Items Jul 4, 2018
@crisbeto crisbeto self-assigned this Jul 4, 2018
@crisbeto
Copy link
Member

crisbeto commented Jul 4, 2018

Since the drag&drop is still a work-in-progress, we haven't gotten around to implementing horizontal sorting yet. There's even a TODO for it.

@jaredmahan
Copy link
Author

jaredmahan commented Jul 4, 2018

Cool thanks for the heads up @crisbeto ! Any timeline on when the horizontal sorting might be completed? Would love to include this in the app we are developing.

crisbeto added a commit to crisbeto/material2 that referenced this issue Jul 8, 2018
* Adds support for sorting items horizontally.
* Fixes some tests going into an infinite loop if they fail.
* Fixes the drag item's directionality not propagating to its preview.

Fixes angular#12066.
@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent has pr labels Jul 8, 2018
@crisbeto
Copy link
Member

crisbeto commented Jul 8, 2018

@jaredmahan you can keep an eye on when #12104 gets released.

crisbeto added a commit to crisbeto/material2 that referenced this issue Jul 8, 2018
* Adds support for sorting items horizontally.
* Fixes some tests going into an infinite loop if they fail.
* Fixes the drag item's directionality not propagating to its preview.

Fixes angular#12066.
crisbeto added a commit to crisbeto/material2 that referenced this issue Jul 9, 2018
* Adds support for sorting items horizontally.
* Fixes some tests going into an infinite loop if they fail.
* Fixes the drag item's directionality not propagating to its preview.

Fixes angular#12066.
crisbeto added a commit to crisbeto/material2 that referenced this issue Jul 9, 2018
* Adds support for sorting items horizontally.
* Fixes some tests going into an infinite loop if they fail.
* Fixes the drag item's directionality not propagating to its preview.

Fixes angular#12066.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants