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
It seems as though our Icon web components do not properly render when SSR is used in the NextJS app. From some basic testing, I can only see this issue occurring when icons are used as slots. When they are used on their own, or inside another component, they seem to render fine.
In the browser tools (I recommend Chrome), disable Javascript
Reload the page
The Icon button will render and show the icon inside it
In contrast, the icons page for NextJS seems absolutely fine using the approach above to test.
I have tried using other web components as slots and they seemed fine. I also reproduced this by adding both pie-divider and icon-search to the pie-card component on the card page and only the icon did not render.
The text was updated successfully, but these errors were encountered:
It seems as though our Icon web components do not properly render when SSR is used in the NextJS app. From some basic testing, I can only see this issue occurring when icons are used as slots. When they are used on their own, or inside another component, they seem to render fine.
To reproduce:
Expected behaviour:
In contrast, the icons page for NextJS seems absolutely fine using the approach above to test.
I have tried using other web components as slots and they seemed fine. I also reproduced this by adding both
pie-divider
andicon-search
to thepie-card
component on the card page and only the icon did not render.The text was updated successfully, but these errors were encountered: