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

Resume onSelect tracking after dragend #13422

Merged
merged 1 commit into from
Aug 16, 2018
Merged

Conversation

gaearon
Copy link
Collaborator

@gaearon gaearon commented Aug 16, 2018

Fixes #11379.
Verified by the following the original repro instructions (you need to use arrow keys).

Note that listening to drop wouldn't be sufficient because it isn't fired on cancelled drag events. So if you didn't end up dropping, you'd still stop getting select events. By listening to dragend we handle both successful and unsuccessful drop cases.

Copy link
Collaborator

@sophiebits sophiebits left a comment

Choose a reason for hiding this comment

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

seemsreasonable

@gaearon gaearon merged commit d14e443 into facebook:master Aug 16, 2018
@gaearon gaearon deleted the select-drop branch August 16, 2018 23:25
@gaearon gaearon mentioned this pull request Sep 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants