Replies: 1 comment 1 reply
-
let's track here instead of creating everywhere. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've encountered an issue when using the Image component where the image stretches and doesn't properly fit within the parent element. This behavior differs from using a native element, which works as expected.
Steps to reproduce:
1. Using a native tag:
This renders the image perfectly, fitting inside the parent element with no issues.
2. Replacing the with the Image component from @nextui-org/react:
In this case, the image stretches and doesn't respect the constraints of the parent element, causing a significant layout issue. Adding styling classes such as w-full or h-auto does not resolve the problem.
Expected behavior: The Image component should behave similarly to a native element, scaling correctly within its container.
2024-09-26.21-11-55.online-video-cutter.com.mp4
Beta Was this translation helpful? Give feedback.
All reactions