When animating an element which changes dimensions, the position of the element is not recalculated and makes a "jump" at the end of the animation to correct it's position. It happens in both iOS Safari and Mac OS Safari, but this behavior is different then Firefox and Chrome/Edge. Example: https://codepen.io/WartClaes/pen/GRZwMxE
<rdar://problem/69320997>