echarts-bot[bot] commented on issue #19296:
URL: https://github.com/apache/echarts/issues/19296#issuecomment-1809726614

   @liuwo23 It seems you are not using English, I've helped translate the 
content automatically. To make your issue understood by more people and get 
helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Bug] In touch screen devices, echarts.getZr().on('mouseover') does not 
return any blank space, but the document says that the mouse can trigger 
zrender's mouse event anywhere.
   
   **BODY**
   
   ### Version
   
   5.4.3
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=map-HK
   
   ### Steps to Reproduce
   
   I detected the mouseover event in a touchscreen device, and the mouseover 
triggered normally in the case of a target, and the mouseover did not fire 
properly in the area where there was no target (i.e. in the empty space). When 
I switched to a monitor without touchscreen capabilities, the mouseover 
triggered in both targeted and untargeted areas.
   I think this is due to a touchscreen compatible bug in zrender.
   
   ```
     myChart.getZr().on('mousemove', function(event){
         console.log('onmousemove!!!!')
     })
   ```
   
   ### Current Behavior
   
   In touchscreen devices, Zrender's mouseover does not trigger mouse events 
for untargeted areas (i.e. empty spaces), the click event is normal, and white 
spaces can also be fired, but the mouseover is abnormal
   
   ### Expected Behavior
   
   On touchscreen devices, the zrender mouseover should also fire in the same 
empty space as the click event, as the documentation says "zrender events are 
different from echarts events." The former is triggered when the mouse is 
triggered anywhere, while the latter is triggered only when the mouse is on a 
graphic element. “
   
   ### Environment
   
   ```markdown
   - OS: winodws 10
   - Browser: chrome 119.0.6045.123
   - Framework:
   ```
   
   ### Any additional comments?
   
   _No response_
   </details>


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

Reply via email to