[BTAPP-46] Replace progress bar width animation with scaleX transform #56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/BTAPP-46"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ticket
BTAPP-46 Rework progress bar proportion animation using scale transform
Summary
Animated.Valueanimation (JS thread,useNativeDriver: false) withscaleX+translateXtransforms (native thread,useNativeDriver: true)translateX = ±W·(1−scaleX)/2; the 8 px gap is baked into the scale targets rather than driven by a third animated viewprogress/.test.tsx