Jelly icon indicating copy to clipboard operation
Jelly copied to clipboard

Fix: updateHeight of Animator does not work as expected

Open liangdrime opened this issue 1 year ago • 0 comments

Summary

I have a scenario that have to update the height of presented view controller. But Animator.updateHeight(height:duration:) does NOT work as expected, the width of presented view controller will be modified after calling this API.

The root cause is the height of original presentation-size was applied to the width by mistake.

And the workaround is using updateSize(presentationSize:duration) instead.

liangdrime avatar Oct 31 '24 14:10 liangdrime