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
FYI, we’ve released addon-controls in Storybook 6.0. Controls are portable, auto-generated knobs that are intended to replace addon-knobs, which are slated for deprecation.
Select knob with long list options when an option is selected then the page is crashing, will need to reload.
To Reproduce
<Meta
title="Foundations/Icons/Iconography"
decorators={[
withKnobs({
escapeHTML: false
}),
moduleMetadata({
imports: [CommonModule, IconModule]
})
]}
parameters={{
a11y: { ...a11yConfig, element: 'icon' }
}}
/>
export const iconsList = [
{
label: 'vanguardLargeLogo white',
name: 'vanguardLargeLogo',
class: 'vanguardLogoWhite'
}, ........................
]
<Canvas mdxSource={
<icon [icon]="iconData"></icon>
}>{{
template:
<icon [icon]="iconData"></icon>
,props: {
iconData: select('Icon', iconsList, iconsList[0])
}
}}
System
"@storybook/addon-knobs": "~6.2.3",
Angular - v11.2
Additional context
This code is crashing only after upgrading to Angular 11 from angular 9 and storybook 6.2
The text was updated successfully, but these errors were encountered: