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 2021/04/02 12:05:16 UTC

[GitHub] [echarts] 100pah opened a new issue #14584: Manually trigger focus blur might make blur not work

100pah opened a new issue #14584:
URL: https://github.com/apache/echarts/issues/14584


   ### Version
   5.0.2
   
   ### Steps to reproduce
   ```js
   
   option = {
       grid: [{
           right: '55%'
       }, {
           left: '55%'
       }],
       xAxis: [{
           type: 'category',
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       }, {
           type: 'category',
           gridIndex: 1,
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       }],
       yAxis: [{
       }, {
           gridIndex: 1
       }],
       series: [{
           type: 'bar',
           emphasis: {
               focus: 'self'
           },
           data: [150, 230, 224, 218, 135, 147, 260]
       }, {
           type: 'bar',
           xAxisIndex: 1,
           yAxisIndex: 1,
           emphasis: {
               focus: 'self'
           },
           data: [150, 230, 224, 218, 135, 147, 260]
       }]
   };
   
   setTimeout(function() {
   
       chart.on('mouseover', { seriesIndex: 0 }, function (event) {
           chart.dispatchAction({
               type: 'highlight',
               seriesIndex: 1,
               dataIndex: event.dataIndex
           });
       });
   
   }, 10);
   ```
   
   Hover the bar series in the left cartesian.
   
   ### What is expected?
   Both the left and right cartesian have focus-blur effect.
   
   ### What is actually happening?
   Only the right cartesian has focus-blur effect.
   
   <!-- 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:
users@infra.apache.org



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