@@ -9,6 +9,8 @@ define(function (require) {
99 var linearMap = numberUtil . linearMap ;
1010 var layout = require ( '../../util/layout' ) ;
1111 var sliderMove = require ( '../helper/sliderMove' ) ;
12+ var eventTool = require ( 'zrender/core/event' ) ;
13+
1214 var asc = numberUtil . asc ;
1315 var bind = zrUtil . bind ;
1416 // var mathMax = Math.max;
@@ -415,6 +417,10 @@ define(function (require) {
415417 draggable : true ,
416418 cursor : 'move' ,
417419 drift : bind ( this . _onDragMove , this , 'all' ) ,
420+ onmousemove : function ( e ) {
421+ // Fot mobile devicem, prevent screen slider on the button.
422+ eventTool . stop ( e . event ) ;
423+ } ,
418424 ondragstart : bind ( this . _showDataInfo , this , true ) ,
419425 ondragend : bind ( this . _onDragEnd , this ) ,
420426 onmouseover : bind ( this . _showDataInfo , this , true ) ,
@@ -452,6 +458,10 @@ define(function (require) {
452458 cursor : this . _orient === 'vertical' ? 'ns-resize' : 'ew-resize' ,
453459 draggable : true ,
454460 drift : bind ( this . _onDragMove , this , handleIndex ) ,
461+ onmousemove : function ( e ) {
462+ // Fot mobile devicem, prevent screen slider on the button.
463+ eventTool . stop ( e . event ) ;
464+ } ,
455465 ondragend : bind ( this . _onDragEnd , this ) ,
456466 onmouseover : bind ( this . _showDataInfo , this , true ) ,
457467 onmouseout : bind ( this . _showDataInfo , this , false )
0 commit comments