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

Migrate ListControl from react-sortable to react-sortable-hoc #708

Merged
merged 3 commits into from
Oct 24, 2017

Conversation

Benaiah
Copy link
Contributor

@Benaiah Benaiah commented Oct 17, 2017

- Summary

Migrates ListControl from react-sortable to react-sortable-hoc and enables drag handles. Closes #431.

(this may be closed in favor of a PR using https://github.com/atlassian/react-beautiful-dnd)

- Test plan

Manually tested, including nested lists.

- Description for the changelog

Migrate ListControl from react-sortable to react-sortable-hoc

- A picture of a cute animal (not mandatory but encouraged)

image

Copy link
Contributor

@erquhart erquhart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Benaiah this is perfect! Just need two things:

  1. Update the cursor style to 'move' only when hovering on the drag handle
  2. Rebase

@Benaiah
Copy link
Contributor Author

Benaiah commented Oct 20, 2017

@erquhart sounds good, will do!

@erquhart
Copy link
Contributor

Found a style regression, probably due to rebasing over the CSS migration:

screen shot 2017-10-23 at 12 08 25 pm

Whole bar should appear gray and seamless.

@erquhart
Copy link
Contributor

Never mind, looks like that's on master. Fixing.

@Benaiah
Copy link
Contributor Author

Benaiah commented Oct 23, 2017

@erquhart thanks for pushing that fix! That commit looks good to me.

@erquhart erquhart merged commit 2abdd34 into master Oct 24, 2017
@erquhart erquhart deleted the react-sortable-hoc-upgrade branch October 24, 2017 18:44
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

Successfully merging this pull request may close these issues.

Use drag handles for list control drag/drop
2 participants