storybook-addon-react-live-edit
storybook-addon-react-live-edit copied to clipboard
Live Edit disappears when I switch addon tabs
whenever I switch the to a different addon tab and come back to the Liveedit tab in the storybook, the Live edit becomes empty. It reappears when I reload the page.
Same problem here. Only can see it filled for a first time upon reload of the page.
As a temp workaround I used to pre-select it with selectedPanel on story level.
.add(
'Live edit',
withLiveEdit(
`return (<Button type="primary">Default</Button>);`,
{ React, Button } // context
),
{
knobs: { disabled: true },
actions: { disabled: true },
a11y: { disabled: true },
info: {
propTables: [Button],
source: false
},
options: { selectedPanel: 'storybook/react-live-edit/panel' }
}
)