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

[WIP] fix(SelectEventPlugin): reset mouseDown after drop event fires #11380

Closed
wants to merge 1 commit into from

Conversation

tobiasandersen
Copy link

This PR most probably isn't ready, it's rather intended to fix (or at least highlight the problems of) #11379. The problem is that mouseDown never gets reset after the drop event, since this plugin never receives topMouseUp as topLevelType when dropping.

What I did here fixes the problem, but I feel like the proper solution would be to make sure that the topMouseUp event is received.

@gaearon
Copy link
Collaborator

gaearon commented Jan 5, 2018

We can take something like this but only after a thorough investigation that explains why it happens. If you're not confident in the fix, I think we won't take it. Thanks for PR though!

@gaearon gaearon closed this Jan 5, 2018
@tobiasandersen
Copy link
Author

tobiasandersen commented Jan 5, 2018

Yeah this definitely shouldn't get merged. I was planning on doing some more investigation, but haven't had the time. Sorry for just leaving it here.

@gaearon
Copy link
Collaborator

gaearon commented Aug 16, 2018

See #13422 for a fix.

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