Open sadiq81 opened 3 years ago
It seems that target positions for half
state calculated from the following code before/after the animation are different. self.addProdctView
and padding
might affect the animation.
.half: FloatingPanelLayoutAnchor(absoluteInset: self.addProductView.frame.maxY + 34 + padding, edge: .bottom, referenceGuide: .superview)
I have the same problem. Animating around the half state seems to mmentarily jump to 50% before it goes to what I want it to be.
.half: FloatingPanelLayoutAnchor(absoluteInset: 100, edge: .bottom, referenceGuide: .superview)
causes stuttering when animating around the half state.
https://user-images.githubusercontent.com/1586725/109475175-ac92db80-7a75-11eb-8fa2-63302f2998c6.MP4
Description
When I'm dragging the panel from tip to half the animation stutters in the end
Expected behavior
Animation should be fluent
Actual behavior
Animation stutters/jumps
Steps to reproduce
Code example that reproduces the issue
How do you display panel(s)?
How many panels do you displays?
Environment
Library version 2.1.0
Installation method
iOS version(s)
14.4
Xcode version
12.4