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/08/26 23:03:41 UTC

[GitHub] [incubator-echarts] hoshmn opened a new issue #13196: Scrolling to zoom on Firefox also scrolls page

hoshmn opened a new issue #13196:
URL: https://github.com/apache/incubator-echarts/issues/13196


   ### Version
   4.3.0
   
   ### Reproduction link
   [https://jsfiddle.net/tkgey87n/](https://jsfiddle.net/tkgey87n/)
   
   ### Steps to reproduce
   Open the fiddle _in Firefox_. Use your trackpad (/mousewheel) scroll to zoom the graph chart. 
   
   ### What is expected?
   The page doesn't scroll (on Chrome it doesn't).
   
   ### What is actually happening?
   The page scrolls in addition to the chart zooming.
   
   ---
   Would be great if Echarts handled this internally, as it does for Chrome. If the graphRoam event included a preventDefault method for the initial scroll event, though, it could at least be solved from my end -- but then it could not be a passive event listener, so maybe preventDefault would only be included if the user indicated through a flag. (But at that point, the flag might as well just tell Echarts to preventDefault on the scroll event internally :) ) Then again, maybe I'm wrong and this has nothing to do with passive event listeners and there's another solution.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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


[GitHub] [incubator-echarts] hoshmn commented on issue #13196: Scrolling to zoom on Firefox also scrolls page

Posted by GitBox <gi...@apache.org>.
hoshmn commented on issue #13196:
URL: https://github.com/apache/incubator-echarts/issues/13196#issuecomment-684919766


   This is an issue on 4.9 as well (updated the description), and also an issue for other chart types (see [line chart example](unpkg.com/echarts/dist/echarts.min.js)). I imagine others _must_ be running into this issue, but I'm not finding a workaround online. Please fix or advise 🙏


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


[GitHub] [incubator-echarts] hoshmn edited a comment on issue #13196: Scrolling to zoom on Firefox also scrolls page

Posted by GitBox <gi...@apache.org>.
hoshmn edited a comment on issue #13196:
URL: https://github.com/apache/incubator-echarts/issues/13196#issuecomment-684919766


   This is an issue on 4.9 as well (updated the description), and also an issue for other chart types (see [line chart example](https://jsfiddle.net/alphalpha/otqgw6e0/2/)). I imagine others _must_ be running into this issue, but I'm not finding a workaround online. Please fix or advise 🙏


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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13196: Scrolling to zoom on Firefox also scrolls page

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


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


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