dx-platform
dx-platform copied to clipboard
Bugfix/ignore mouse up outside dom node
Helps to avoid mouse-up clicks made on target dom-node but dragged outside of it
For example when RootClose is wrapped around resizable/draggable element which is limited by some maxWidth or maxHight dragEnd/mouseUp event triggers
onRootClose
event. I think it should be avoided by comparing targets (event.target mouseDown to event.target mouseUp) Also added demo page here.
The issue in false triggering onRootClose after drag ends and mouse beyond the element borders
Hi, @pm-Egor-Genning, thanks for the PR. Before we start the discussion regarding the content of this PR I'd like to ask what issue does it solve? Could you provide some STR or demo with reproduction?
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Egor Genning seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.