Layout Calculation Issue on Element Resize? #650
-
Hello everyone, When resizing an element's ( Screen.Recording.2024-05-03.at.5.24.54.PM.movSetup
In the demonstrated example there is a The Frame has the following style properties (which don't change through out the example):
The two Rectangles have the following style properties (The height of
HTML Equivalent<div class="absolute h-[500px] w-[500px] bg-yellow-200">
<!-- Outer Frame -->
<div
class="absolute left-[190px] top-[130px] flex h-[240px] w-[120px] flex-col items-start justify-start gap-y-[20px] bg-black p-[10px]">
<!-- Inner Frame -->
<div class="h-[100px] w-[100px] bg-gray-300">
<!-- First Rectangle -->
</div>
<div class="h-[100px] w-[100px] bg-gray-300">
<!-- Second Rectangle -->
</div>
</div>
</div> Raw Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
There seems to be a connection between the potential miss alignment and the |
Beta Was this translation helpful? Give feedback.
-
I'm doing something wrong, but idk what 😬 InputStyles
Output
Expected |
Beta Was this translation helpful? Give feedback.
-
Ok, I think I found my issue. I set margin to |
Beta Was this translation helpful? Give feedback.
Ok, I think I found my issue. I set margin to
auto
🤦♂️