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
AspectRatio still does not apply the ratio value #1008
Comments
my bad my bad, thanks for catching this (again) |
Hey @astahmer, I'm sorry to inform you that it's still not working 🙈 |
It was ! It even is still working in the tests.. I even tried pasting your exact sample We use So I tried debugging the issue using your repo and I found that the typescript Then I found out we (in panda repo) have upgraded the TS version to After that I tried updating ts-morph in my local panda repo and despite having the correct My final guess is that I'm not sure why it works in the tests tho ? also, not sure how to resolve that (and the future issues that will arise if |
@astahmer, could you please reopen the issue so I can keep tracking it? |
yes ofc, and thank you as usual for reporting those, it helps a lot! 🙏 |
this should be fine once #1055 gets merged |
Hey @astahmer, I can confirm that it's working now, thanks for your help |
Description
Hey again,
I just tried the new AspectRatio pattern after the last bug, right now only the padding-bottom value is not working.
it works if I don't provide a value and it use the default one 4 / 3 but when I provide something else such as 16 / 9 or even 1 / 2, I see the generated class but it does not apply for some reason
Link to Reproduction
here
Steps to reproduce
Check Aspect Ratio component
JS Framework
React TS
Panda CSS Version
0.6.0
Browser
Latest
Operating System
Additional Information
No response
The text was updated successfully, but these errors were encountered: