Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Dialog component not rendering #2675

Open
JakubS-soldevelo opened this issue Dec 24, 2024 · 0 comments
Open

[Bug]: Dialog component not rendering #2675

JakubS-soldevelo opened this issue Dec 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JakubS-soldevelo
Copy link

Vibe version

3.9.2

Describe the bug

Hi when I try to use example of dialog from documentation I get the error,
Zrzut ekranu z 2024-12-24 09-02-01
React version 19.0.0

Expected behavior

Component will render

Steps to reproduce

use Dialog component from documentatoin
() => { const { isChecked: isOpen, onChange: setIsOpen } = useSwitch({ defaultChecked: false, }); return ( <Dialog //disable default triggers showTrigger={[]} // manage the opening state in the app level open={isOpen} content={ <DialogContentContainer> <DialogContentContainer> <Button kind="secondary" // @ts-ignore onClick={() => setIsOpen(false)} > This will close as well </Button> </DialogContentContainer> </DialogContentContainer> } > <Button // @ts-ignore onClick={() => setIsOpen(!isOpen)} > Click me to toggle the Dialog </Button> </Dialog> ); }

https://vibe.monday.com/?path=/docs/components-dialog--docs

Reproduction example link

No response

System Info

No response

Additional context, Screenshots

No response

@JakubS-soldevelo JakubS-soldevelo added the bug Something isn't working label Dec 24, 2024
@JakubS-soldevelo JakubS-soldevelo changed the title [Bug]: [Bug]: Dialog component not rendering Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant