close AF-1668; We calculate the final width through modalContent at the start of the animation, so the calculated width is unexpected when there is a `padding`.
close AF-1668; We calculate the final width through modalContent at the start of the animation, so the calculated width is unexpected when there is a `padding`.