Closed nylki closed 3 years ago
This is the continuation from the previous PR (https://github.com/fermoya/SwiftUIPager/pull/187) to target https://github.com/fermoya/SwiftUIPager/issues/157.
This change removes the withAnimation from the onDragChanged handler to directly translate drag positions instead of animating them. Please note: Indentation makes the diff appear bigger than there is actual change.
withAnimation
onDragChanged
Thanks @nylki
You're LIVE. See version 2.0.2
Unfortunately, I'm gonna have to revert these changes. They're introducing a bug #193
This is the continuation from the previous PR (https://github.com/fermoya/SwiftUIPager/pull/187) to target https://github.com/fermoya/SwiftUIPager/issues/157.
This change removes the
withAnimation
from theonDragChanged
handler to directly translate drag positions instead of animating them. Please note: Indentation makes the diff appear bigger than there is actual change.