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/06/16 10:11:40 UTC

[GitHub] [echarts] Nancy2013 opened a new issue, #17227: [Bug] 移动端,设置tooltip可点击,dispatchAction派发hideTip,提示框不消失

Nancy2013 opened a new issue, #17227:
URL: https://github.com/apache/echarts/issues/17227

   ### Version
   
   v5.3.3
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/s/echarts-tooltip-x9qzm0?file=/components/Demo.vue:1829-1837
   
   ### Steps to Reproduce
   
   
   1、显示折线图
   2、点击item显示tooltip
   3、自定义tooltip里面的dom样式
   4、点击tooltip中的onclick事件,显示遮罩蒙版
   5、再次点击蒙版,tooltip会消失
   
   ### Current Behavior
   
   
   1、点击tooltip中的点击事件
   
        dispatchAction派发hideTip
        dispatchAction派发downplay
   
        item高亮消失,tooltip不消失
   
   2、点击显示的蒙版图层
   
        tooltip反而会自动消失
   
   ### Expected Behavior
   
   1、点击tooltip中的点击事件
        
         dispatchAction派发的事件都能执行
   
   2、点击显示的蒙版图层
   
         tooltip不应该消失
   
   
   ### Environment
   
   ```markdown
   OS:iPhone8
   Browser: Chrome 101.0.4951.67
   Framework :Vue 2.5
   ```
   
   
   ### 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.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] echarts-bot[bot] commented on issue #17227: [Bug] 移动端,设置tooltip可点击,dispatchAction派发hideTip,提示框不消失

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #17227:
URL: https://github.com/apache/echarts/issues/17227#issuecomment-1157484129

   @Nancy2013 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] Mobile, set tooltip can be clicked, dispatchAction distribution hideTip, prompt box does not disappear
   
   **BODY**
   
   ### Version
   
   v5.3.3
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/s/echarts-tooltip-x9qzm0?file=/components/Demo.vue:1829-1837
   
   ### Steps to Reproduce
   
   1. Display line chart
   2. Click on item to display tooltip
   3. Customize the dom style inside the tooltip
   4. Click on the onclick event in the tooltip to display the mask mask
   5. Click the mask again, and the tooltip will disappear
   
   ### Current Behavior
   
   1. Click on the click event in the tooltip
   
   dispatchAction distributes hideTip
        dispatchAction distributes downplay
   
   Item highlight disappears, tooltip does not disappear
   
   2. Click the mask layer that appears
   
   Instead, the tooltip disappears automatically
   
   ### Expected Behavior
   
   1. Click on the click event in the tooltip
        
   DispatchAction dispatched events can be executed
   
   2. Click the mask layer that appears
   
   TooltIP should not disappear
   
   ### Environment
   
   ```markdown
   OS:iPhone8
   Browser: Chrome 101.0.4951.67
   Framework :Vue 2.5
   ```
   
   ### 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: 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