Closed gorhom closed 4 years ago
Well this release broke the sticky item for me :/
Even your default FacebookStickyStoryStyled is broken :/ @gorhom https://streamable.com/of3zvg
I can't really understand what happened, but the last updates went smooth but this one not
hi @Hirbod , sorry to hear that, this actually meant to be a fix, but i think the calculation broke current implementation
i had to redo the Facebook Styled example
however, i'll try to revert this merge and release it as major
Look like the issue happens because I've set my stickyItemWidth and height to 32. It works when I set it to 46x46 @gorhom
Yes, setting to anything lower then 46x46 breaks it, but 46x46 works fine, but even than, I have 2px offset from left
i have reverted this merge , i'll test it more with small number
you should be able to get v1.3.1
without this pr
This is how v.1.3.1 looks now
Here also a video https://streamable.com/ck5v46
Ok I could fix this by changing
const animatedThumbnailTranslateX = interpolate(x, {
inputRange: [separatorSize, threshold],
outputRange: [0, isRTL ? separatorSize : -separatorSize],
extrapolate: Extrapolate.CLAMP,
});
closing #12