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
I guess adding 2 figspecs experimental should work normally, changing the tab would set the iframe to the correct figma url allowing to play with the different Figma elements.
Environment
Chrome / Chromium / Chromium based browsers
Firefox
macOS Safari
iOS Safari
Samsung Internet
Other
Affected versions
6.1.0
Storybook versions
6.3.8
The text was updated successfully, but these errors were encountered:
#122
When a story with `type: "experimental-figspec"` places on 2nd or
later tab, the preview does not render Figma design correctly.
This is due to size calculation not updating on `display` changes.
However, the fundamentaly fix for it requires ResizeObserver,
which is still relatively new API. I would like to avoid these "young"
APIs in libraries because of documentation and/or additional dependency
management.
The Figspec type viewer can't have an instant tab switching while force
re-render is on, although I don't think it's a deal breaker.
Affected design types
Describe the bug
When adding multiple designs to the design parameter section, multiple
experimental-figspec
are not allowed, or only the first one will work.How to reproduce the bug?
Create a storybook and add the following configuration in the design section:
The first item in the array will work with the Figma spec, but the second figma design will have a strange behaviour, like being stuck.
Adding a fig-spec and a figma will work normally
Expected behaviour
I guess adding 2 figspecs experimental should work normally, changing the tab would set the iframe to the correct figma url allowing to play with the different Figma elements.
Environment
Affected versions
6.1.0
Storybook versions
6.3.8
The text was updated successfully, but these errors were encountered: