You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if ebay-line-chart is loaded asynchronously, the component will mount and display an empty screen while it retrieves highcharts.js and accessibility.js. After those requests have been retrieved and run (self invoking), the chart will end up rendering as expected. The result is an awkward UX where the chart shifts layout after the necessary scripts are loaded in.
In order to load and initialize the scripts before the chart has loaded in, we should consider loading these resources before the component mounts. This could possibly be achieved through browser.json async loading.
Workaround
N/A
Screenshots
The text was updated successfully, but these errors were encountered:
lorenzolevy
changed the title
ebay-line-chart: It is currently not possible remove files from the CDN lgoic for custom loading solutions
ebay-line-chart: Highcharts and dependencies for rendering are not loaded asynchronously
Oct 25, 2024
lorenzolevy
changed the title
ebay-line-chart: Highcharts and dependencies for rendering are not loaded asynchronously
ebay-line-chart: highcharts.js and accessibility.js are loaded in after the component mounts
Oct 25, 2024
Bug Report
eBayUI Version: 14.3.0
Description
Currently, if
ebay-line-chart
is loaded asynchronously, the component will mount and display an empty screen while it retrieveshighcharts.js
andaccessibility.js
. After those requests have been retrieved and run (self invoking), the chart will end up rendering as expected. The result is an awkward UX where the chart shifts layout after the necessary scripts are loaded in.In order to load and initialize the scripts before the chart has loaded in, we should consider loading these resources before the component mounts. This could possibly be achieved through
browser.json
async loading.Workaround
N/A
Screenshots
The text was updated successfully, but these errors were encountered: