You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/10/29 20:35:33 UTC

[GitHub] [incubator-echarts] 100pah opened a new pull request #11516: enhance: enhance the behavior that when mouse move is out of echarts are.

100pah opened a new pull request #11516: enhance: enhance the behavior that when mouse move is out of echarts are.
URL: https://github.com/apache/incubator-echarts/pull/11516
 
 
   enhance: enhance the behavior that when mouse move is out of echarts area: 
   the brushed area or dataZoom window will be released at that case, but not keep in dragging state. 
   fix #10675.
   
   But there is still an issue could be thought over:
   When we are dragging and the pointer is moving out of the echarts area, should we release the dragging state, or keep the dragging state util `mouseup`/`touchend`?
   For `touchend` they are almost the same. But for `mouseup` they are a little different.
   If we need to make more detailed process for "mouse up out of echarts", we need to 
   listen `mousemove` and `mouseup` of `document`, which brings some extra effort in coding.
   
   Please try them in `dataZoom-action.html` or `bar.html`.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org