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 2022/02/15 10:12:29 UTC

[GitHub] [echarts] zz112 opened a new issue #16511: [Bug] it does not work when I set cursor of a graphic element

zz112 opened a new issue #16511:
URL: https://github.com/apache/echarts/issues/16511


   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   https://codepen.io/zz112/pen/PoOJRRR
   
   ### Steps to Reproduce
   
   ```
   chart.setOption({
     graphic:{
        elements:[
          {
         type: 'group',
         left: '10%',
         top: 'center',
         cursor: 'default',
         children: [
           {
             type: 'rect',
             z: 100,
             left: 'center',
             top: 'middle',
             shape: {
               width: 240,
               height: 90
             },
             style: {
               fill: '#fff',
               stroke: '#555',
               lineWidth: 1,
               shadowBlur: 8,
               shadowOffsetX: 3,
               shadowOffsetY: 3,
               shadowColor: 'rgba(0,0,0,0.2)'
             },
             cursor: 'default',
           },
           {
             type: 'text',
             z: 100,
             left: 'center',
             top: 'middle',
             style: {
               fill: '#333',
               width: 220,
               overflow: 'break',
               text: 'the value of cursor prop is "default", it looks well on version 5.1.1. Replace echarts version with 5.3.0, the mouse will still be a pointer',
               font: '14px Microsoft YaHei'
             },
             cursor: 'default',
           }
         ]
       }
        ]
     }
   });
   ```
   
   ### Current Behavior
   
   version 5.3.0 ,when I set the `cursor: default` of a grahic element, the mouse still looks like  `pointer`. But it is ok using version 5.1.1. 
   
   ### Expected Behavior
   
   when I set the `cursor: default` of a grahic element, the mouse behave normally (looks like an arrow,not a little hand) using version 5.3.0.
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] pissang closed issue #16511: [Bug] it does not work when I set cursor of a graphic element

Posted by GitBox <gi...@apache.org>.
pissang closed issue #16511:
URL: https://github.com/apache/echarts/issues/16511


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] plainheart edited a comment on issue #16511: [Bug] it does not work when I set cursor of a graphic element

Posted by GitBox <gi...@apache.org>.
plainheart edited a comment on issue #16511:
URL: https://github.com/apache/echarts/issues/16511#issuecomment-1040131239


   <del>I can't reproduce it. It shows the default arrow symbol when hovering on the elements.</del>
   
   Just found this demo uses the old version.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] plainheart commented on issue #16511: [Bug] it does not work when I set cursor of a graphic element

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #16511:
URL: https://github.com/apache/echarts/issues/16511#issuecomment-1040131239


   I can't reproduce it. It shows the default arrow symbol when hovering on the elements.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] plainheart commented on issue #16511: [Bug] it does not work when I set cursor of a graphic element

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #16511:
URL: https://github.com/apache/echarts/issues/16511#issuecomment-1040131239


   I can't reproduce it. It shows the default arrow symbol when hovering on the elements.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] plainheart edited a comment on issue #16511: [Bug] it does not work when I set cursor of a graphic element

Posted by GitBox <gi...@apache.org>.
plainheart edited a comment on issue #16511:
URL: https://github.com/apache/echarts/issues/16511#issuecomment-1040131239


   <del>I can't reproduce it. It shows the default arrow symbol when hovering on the elements.</del>
   
   Just found this demo uses the old version.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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