ing-bank / lion

Fundamental white label web component features for your design system.
https://lion.js.org
MIT License
1.77k stars 295 forks source link

Docs: Size selector in demos breaks the demo #2347

Open aghArdeshir opened 3 months ago

aghArdeshir commented 3 months ago

Expected behavior

I've never seen these buttons working, so not exactly sure what to expect. But I assume it should run a simulator of how the demos/components look in the selected size?

Actual Behavior

Example: https://lion-web.netlify.app/components/checkbox-group/overview/

image

image

Additional context

Looks like they are coming from Rocket?

gerjanvangeest commented 3 months ago

These "size" tabs indeed show different viewports, inside an iframe. They still work in oa Firefoxs, if you want to see them work. But chrome did an update, half a year ago, which make them stop working.

We are working on a new portal without rocket, so this is not an urgent issue for us.