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 2020/10/07 16:30:21 UTC

[GitHub] [incubator-echarts] dr-itz commented on issue #12864: [DISCUSS] To find better solutions for detecting touchable device

dr-itz commented on issue #12864:
URL: https://github.com/apache/incubator-echarts/issues/12864#issuecomment-705052094


   We had the same problem on some Windows touch devices. Since we use custom imports with webpack, I added this one for testing (typescript):
   
   ```ts
   import zRenderEnv from 'zrender/lib/core/env';
   zRenderEnv.touchEventsSupported = true;
   ```
   
   this works nicely and touch is fixed on these devices. The question: Is there any downside in force-enabling this?


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

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