Support undoing CSS transforms when measuring dimensions
Author: vovayatsyukCreated Feb 22, 2022Updated Nov 15, 2022
Labelsenhancement
Current behavior
The following code decreases actual dimensions of the element if the parent element uses transform property:
$('.el').height($('.el').height() + 5);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?
Source: fabiospampinato/cash