Apexcharts.js: Tooltips are going out of bounds when initially triggered on mobile (sometimes on desktop as well)

Created on 10 Jan 2019  路  2Comments  路  Source: apexcharts/apexcharts.js

Codepen

No Codepen necessary since the problem is reproducible on a demo page as well:
https://apexcharts.com/javascript-chart-demos/line-charts/basic/

Explanation

  • What is the behavior you expect?
    On mobile (but it happened on desktop as well), when I initially trigger a tooltip for a rightmost (or close to rightmost) data point, it should not go out of view
  • What is happening instead?
    The tooltip is going out of view on initial trigger, and only after triggering another tooltip and coming back to the original one is the issue fixed
  • What error message are you getting?
    None

screenshot_20190110-112111_chrome

bug

All 2 comments

Forgot to say, thank you for maintaining this awesome library, it was a pleasure to work with so far!

Since we are using this at work, I will try to squeeze in some (company) time tomorrow and try to debug the issue, hopefully a pull request emerges out of it :crossed_fingers:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

drummad picture drummad  路  3Comments

rcoundon picture rcoundon  路  3Comments

piyushSinghalDemo picture piyushSinghalDemo  路  3Comments

Sumon-miazi picture Sumon-miazi  路  3Comments

pribilinskiy picture pribilinskiy  路  3Comments