storybookjs / storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
https://storybook.js.org
MIT License
84.8k stars 9.33k forks source link

[Bug]:component is not responsive in doc #24341

Closed Sudeepa1949 closed 10 months ago

Sudeepa1949 commented 1 year ago

Describe the bug

I have one chart component, in doc when I try to change chart component properties , its not responsing. in canvas also propereties are responding . this problem is coming after upgrading from 6.5.13 to v7.4.5. here is my code in simple way.

`import { html } from "lit"; import { Story, Meta, Canvas, ArgsTable } from "@storybook/blocks"; import "./chart"; import donutOptions from "./charts/donut/sample-config.ts";

<Meta title="Components/Chart" component="ex-chart" parameters={ { layout: "centered", status: { type: ["stable"], }, } } argTypes= {{ width: { name: "Width", control: { type: "number", }, }, }} />

export const DonutTemplate = (args) => { const donutChart = { ...donutOptions, width: args.width, }; return html <ex-chart .options="${donutChart}" ></ex-chart> };

{DonutTemplate.bind({})} ` ### To Reproduce _No response_ ### System _No response_ ### Additional context _No response_
Sudeepa1949 commented 1 year ago

please suggest me, if I miss anything here

kmalap05 commented 1 year ago

I can resolve this issue, please assign it to me with Hacktoberfest 2023 tag.

Sudeepa1949 commented 1 year ago

Hi @kmalap05 may I know, what is the problem here

Hacktoberfest

Sudeepa1949 commented 1 year ago

any updates on this, how can I resolve this, Na is this valid bug? @kmalap05 @valentinpalkovic

Sudeepa1949 commented 1 year ago

please give some update on this

vanessayuenn commented 1 year ago

Hi, thanks for reporting this. do you have a reproduction repo you can share? If not, can you create one (see how to create a repro). We prioritize bug reports that have reproduction. Thank you! 🙏

github-actions[bot] commented 1 year ago

Hi there! Thank you for opening this issue, but it has been marked as stale because we need more information to move forward. Could you please provide us with the requested reproduction or additional information that could help us better understand the problem? We'd love to resolve this issue, but we can't do it without your help!

keshav-404 commented 1 year ago

Hi, I have one more doubt I have modified the css of sidebar in the storybook, whenever I ran the storybook for first time the css is not loading and again I reload the storybook than css is coming. In the older version everything was working fine after update I am facing this issue. Thank you

github-actions[bot] commented 10 months ago

Hi there! Thank you for opening this issue, but it has been marked as stale because we need more information to move forward. Could you please provide us with the requested reproduction or additional information that could help us better understand the problem? We'd love to resolve this issue, but we can't do it without your help!

github-actions[bot] commented 10 months ago

I'm afraid we need to close this issue for now, since we can't take any action without the requested reproduction or additional information. But please don't hesitate to open a new issue if the problem persists – we're always happy to help. Thanks so much for your understanding.