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/07/19 07:13:17 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #17402: [Bug] 移动端 h5 饼图长按无法触发 click 和 selectchanged 事件,但是饼图实际上有选中变化。(The mobile h5 pie chart length press cannot trigger click and selectchanged events, but the pie chart is actually selected.)

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

   @io-huk 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] The click and selectchanged events cannot be triggered by long-pressing the h5 pie chart on the mobile side, but the pie chart actually has a selected change. (The mobile h5 pie chart length press cannot trigger click and selectchanged events, but the pie chart is actually selected.)
   
   **BODY**
   
   ### Version
   
   5.3.2
   
   ### Link to Minimal Reproduction
   
   https://codepen.io/kun23/pen/KKoWvge
   
   ### Steps to Reproduce
   
   Open the phone debugging mode on the pc side, long press a pie block, you will find that the click and selectchange events are not triggered, but the corresponding block has been selected, and a long press will trigger a contextmenu event.
   When the real phone is turned on (ios 14.8, the same on Android), the phenomenon is the same as above, but the contextmenu event will not be triggered.
   
   
   Turn on the debug mode of the phone on the pc side, and long press a pie block, you will find that no click and selectchange events are triggered, but the corresponding block has been selected, and a contextmenu event will be triggered by the long press.
   The phenomenon of turning on the real phone (ios 14.8, the same on Android) is the same, but the contextmenu event will not be triggered.
   
   ### Current Behavior
   
   In a pie chart, I need to respond to the selection operation of the pie chart, and I need to modify the interface UI with dataIndex. I found that this problem exists on the mobile phone, and I searched and found no solution.
   
   
   In a pie chart, I need to respond to the selection operation of the pie chart, and I need to modify the interface UI with dataIndex. I found that this problem exists on the mobile phone, and I searched and found no solution.
   I need to respond to the selected operation of the pie chart in a pie chart. I need dataIndex to modify the interface UI. I found this problem on the phone. I searched it and didn't get a solution.
   
   ### Expected Behavior
   
   To be able to have an event fired correctly, selectchange or click will do.
   
   Can have an event triggered correctly, either selectchange or click.
   
   ### Environment
   
   ````markdown
   - OS: ios 14.8
   - Browser: safari
   - Framework: not framework, native
   ````
   
   
   ### Any additional comments?
   
   If you cancel user-select: none in css; on ios, a popup copy text menu will be triggered.
   
   If you cancel the user-select:none;ios in css, a pop-up copy text menu will be triggered.
   </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: 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