tmtron opened a new issue #10675: Brush drag gets stuck when the mouse leaves the chart area URL: https://github.com/apache/incubator-echarts/issues/10675 ### Version 4.2.1 ### Reproduction link [https://jsfiddle.net/tmtron/kdaqhpjv/92/](https://jsfiddle.net/tmtron/kdaqhpjv/92/) ### Steps to reproduce * left-click in the chart area and HOLD the left button * now the brush-drag is active: we can move the mouse around and the area will follow * but when we exit the chart area (e.g. far to the right on the grey area) and then release the mouse button (still on the grey area), the brush-drag mode gets stuck * what I mean is, when you now move the mouse back to the chart area, the brush-drag is still active: i.e. the mouse move will resize the brush area although the left-mouse button is NOT pressed down anymore * this will only stop when you make another click inside the chart area  ### What is expected? the brush mode should stop (same as releasing the pressed mouse button) ### What is actually happening? the brush mode ist stuck: when you release the mouse button outside the canvas, and reenter, the brush is still following the mouse movements As a workaround I tried to fire a 'mouseup' event when the 'globalout' event occurs, but that does not work. <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE --> <!-- This issue is in English. DO NOT REMOVE -->
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
