We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using a promise for the seriesof a gv-chart, then the skeleton appears until the promise is resolved.
series
If we want to refresh the data, there is a blink before rendering the skeleton state.
One clue we have with @gaetanmaisse is when the component is updated, then it is re-rendered with old value before passing to skeleton
You can try with gv-chart-pie.stories.js, Loading story and use the following as simulations
gv-chart-pie.stories.js
simulations
simulations: [ storyWait(0, ([component]) => { component.series = new Promise((resolve) => (seriesResolver = resolve)); component.options = options; }), storyWait(750, () => { seriesResolver(series); }), storyWait(1500, ([component]) => { component.series = new Promise((resolve) => (seriesResolver = resolve)); component.options = options; }), storyWait(2250, () => { seriesResolver(series); }), ],
The text was updated successfully, but these errors were encountered:
fix: remove blink effect when refresh skeleton attribute
80fc66d
fix #309
edcaf1b
No branches or pull requests
Problem
When using a promise for the
series
of a gv-chart, then the skeleton appears until the promise is resolved.If we want to refresh the data, there is a blink before rendering the skeleton state.
One clue we have with @gaetanmaisse is when the component is updated, then it is re-rendered with old value before passing to skeleton
Concerned components
How to reproduce
You can try with
gv-chart-pie.stories.js
, Loading story and use the following assimulations
The text was updated successfully, but these errors were encountered: