Unexpected Negative Coordinates in Layout Calculation (Absolute Position) #649
-
Hello everyone, I'm encountering an issue with layout calculations where an element is positioned with unexpected negative coordinates, specifically Input
Result
Logged via ContextRaw Logs
Expected<div class="absolute bg-yellow-300" style="width: 500px; height: 500px;">
<div class="absolute bg-red-500" style="width: 100px; height: 100px; top: 200px; left: 200px;">
<div class="absolute bg-gray-200" style="width: 50px; height: 50px; bottom: 75px; right: 75px;"></div>
</div>
</div> |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Sry my mistake 😅 I expected the pivot point to still be the top left corner but thats ofc not the case if the inset is set on bottom and right. |
Beta Was this translation helpful? Give feedback.
Sry my mistake 😅 I expected the pivot point to still be the top left corner but thats ofc not the case if the inset is set on bottom and right.