Skip to content

Handle drag events only if mouse release occurred inside of view#371

Merged
TomasMikula merged 1 commit intoFXMisc:masterfrom
JordanMartinez:abortDragOnOutsideViewMouseRelease
Oct 4, 2016
Merged

Handle drag events only if mouse release occurred inside of view#371
TomasMikula merged 1 commit intoFXMisc:masterfrom
JordanMartinez:abortDragOnOutsideViewMouseRelease

Conversation

@JordanMartinez
Copy link
Copy Markdown
Contributor

@JordanMartinez JordanMartinez commented Oct 4, 2016

This should fix #321

@TomasMikula
Copy link
Copy Markdown
Member

Shouldn't the test be inside of the DRAG case?

@JordanMartinez
Copy link
Copy Markdown
Contributor Author

Shouldn't the test be inside of the DRAG case?

The caret will still move then, but that's what happens in a TextArea, too, (just tested it). So, yeah, it should.

@JordanMartinez
Copy link
Copy Markdown
Contributor Author

I've updated the PR

@TomasMikula
Copy link
Copy Markdown
Member

👍

@TomasMikula TomasMikula merged commit 708ea4c into FXMisc:master Oct 4, 2016
@JordanMartinez JordanMartinez deleted the abortDragOnOutsideViewMouseRelease branch October 4, 2016 21:34
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.

Unexpected text drag behavior on abort.

2 participants