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

add ref to manager when disabled prop goes from true to false #33

Closed
wants to merge 4 commits into from

Conversation

wmdmark
Copy link

@wmdmark wmdmark commented Jul 16, 2016

This fixes an issue for when a SortableElement goes from a disabled to a non-disabled state.

@wmdmark wmdmark changed the title add ref to manager when disabled prop goes from true to false add ref to manager when disabled prop goes from true to false Jul 16, 2016
@clauderic
Copy link
Owner

Ah, good catch. Thanks for submitting this! Looks good, though I believe you missed the case for when the prop goes from enabled to disabled though no?

@wmdmark
Copy link
Author

wmdmark commented Jul 17, 2016

@clauderic oops, did not think to handle that since it was the other way that was broken for me. Does this look OK for handling both cases? Have not had a chance to test yet.

@wmdmark
Copy link
Author

wmdmark commented Jul 26, 2016

@clauderic any thoughts on this? would be nice to get this merged so I can stop using my fork.

@clauderic
Copy link
Owner

Hey @wmdmark, sorry I didn't get back to you. There's another PR to the same effect (#34), I'm undecided as to which implementation I prefer, but I will merge one of the two as soon as I get the chance

@clauderic
Copy link
Owner

I just merged #34, going to close this out. Thank you for submitting this.

@clauderic clauderic closed this Jul 27, 2016
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.

2 participants