cschroeter / park-ui

Beautifully designed components built with Ark UI and Panda CSS that work with a variety of JS frameworks.
https://park-ui.com
MIT License
1.74k stars 75 forks source link

Dialog is break #467

Open vincehi opened 2 weeks ago

vincehi commented 2 weeks ago
Capture d’écran 2024-11-07 à 09 23 04
riceboyler commented 1 week ago

Yeah, and I personally can't even get it to load the backdrop for me when I try to run it in my local project. I've done the CLI installation, but dialog__backdrop doesn't appear to be getting generated by panda, even after running prepare. Something feels just plain off about the implementation of Dialog.

thewebartisan7 commented 3 days ago

It seems an issue just with demo. The buttons should not have width=full here in demo https://github.com/cschroeter/park-ui/blob/main/components/react/src/demos/dialog.demo.tsx#L21C1-L28C21 by removing this works fine. in case it should have flex: 1 to make both buttons full width inside dialog.