You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reading the height the eventual transform property is not kind of undone, this is mentioned in the migration guide.
So in some sense it is working as expected.
If this is implementable with little code though it might be a nice to have feature 🤔
Add a notice to the migration guide to use .css('height') instead?
Done, thanks 👍
fabiospampinato
changed the title
Increment element height when element uses transform leads to unpreditable results
Support undoing CSS transforms when measuring dimensions
Nov 15, 2022
Current behavior
The following code decreases actual dimensions of the element if the parent element uses
transform
property:Expected behavior
The element should increase its height.
Codepen
https://codepen.io/vovayatsyuk/pen/qBVYQJJ
Proposed solution
Add a notice to the migration guide to use
.css('height')
instead?The text was updated successfully, but these errors were encountered: