ic-design-system
ic-design-system copied to clipboard
skeleton\card code example on site does not match preview
Summary of the bug
In the following example, it shows a card with skeleton content which then gets replaced with actual content. This works in the code preview, but the code does not do this when launching the stackblitz
https://design.sis.gov.uk/components/skeleton/code#within-iccard-component
🪜 How to reproduce
Tell us the steps to reproduce the problem:
- Go to page: https://design.sis.gov.uk/components/skeleton/code/#within-iccardvertical-component
- see that the example starts as card with skeleton content, then changes to actual content
- Launch the stackblitz code
- The skeleton content does not get replaced
🧐 Expected behaviour
The code should match what is being shown in the preview: ie the content should get replaced
This could be covered by #619
confirmed this is still an issue in Stackblitz - the skeleton never gets replaced with actual content.
To recreate:
- Go to page: https://design.sis.gov.uk/components/skeleton/code/#within-iccardvertical-component
- see that the example starts as card with skeleton content, then changes to actual content
- Launch the stackblitz code
- The skeleton content does not get replaced
There is also no button to reset the example like is shown in the code preview window