mgzhenhong opened a new issue, #20666: URL: https://github.com/apache/echarts/issues/20666
### Version 5.6.0 ### Link to Minimal Reproduction https://echarts.apache.org/examples/zh/editor.html?code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6cjnxFUpMpRqyAbowA2SrT2jrB4VEZUhLCi_MQegsJiAIwArAAMPLAATADMmTnZACxZ2ckAHFnJualVRQDspQBs6dahHhTUdP4Q0MpxdiS2dgDcKCgAtuQAwtqMHGAAdKxUYABaHAAUAJSLMJu0E8AK4cA-ETI7CAB8sPQweMD-VIv-wKwHRydUZxGwVOdoGBaNttmMprN5ksVustrt9odjqcFMCsld4Ld7tBHs9Xu9Pkifij_oDgaCRkA ### Steps to Reproduce https://echarts.apache.org/examples/zh/editor.html?code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6cjnxFUpMpRqyAbowA2SrT2jrB4VEZUhLCi_MQegsJiAIwArAAMPLAATADMmTnZACxZ2ckAHFnJualVRQDspQBs6dahHhTUdP4Q0MpxdiS2dgDcKCgAtuQAwtqMHGAAdKxUYABaHAAUAJSLMJu0E8AK4cA-ETI7CAB8sPQweMD-VIv-wKwHRydUZxGwVOdoGBaNttmMprN5ksVustrt9odjqcFMCsld4Ld7tBHs9Xu9Pkifij_oDgaCRkA [参考代码即可 ](https://echarts.apache.org/examples/zh/editor.html?code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdEgF8-6cjnxFUpMpRqyAbowA2SrT2jrB4VEZUhLCi_MQegsJiAIwArAAMPLAATADMmTnZACxZ2ckAHFnJualVRQDspQBs6dahHhTUdP4Q0MpxdiS2dgDcKCgAtuQAwtqMHGAAdKxUYABaHAAUAJSLMJu0E8AK4cA-ETI7CAB8sPQweMD-VIv-wKwHRydUZxGwVOdoGBaNttmMprN5ksVustrt9odjqcFMCsld4Ld7tBHs9Xu9Pkifij_oDgaCRkA) ### Current Behavior myChart.getZr().on('mouseover', () => {}) 在鼠标进入空白区域时不能触发 myChart.getZr().on('mouseout', () => {}) 可以正常触发 ### Expected Behavior 与文档描述不符 zrender 事件与 echarts 事件不同。前者是当鼠标在**任何地方**都会被触发,而后者是只有当鼠标在图形元素上时才能被触发 https://echarts.apache.org/handbook/zh/concepts/event/#%E7%9B%91%E5%90%AC%E2%80%9C%E7%A9%BA%E7%99%BD%E5%A4%84%E2%80%9D%E7%9A%84%E4%BA%8B%E4%BB%B6 ### Environment ```markdown - OS:Windows 11 - Browser:Edge 131.0.2903.112 - Framework: Vue@3 ``` ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
