esthor / react-native-swipeable-list

A zero-dependency Swipeable FlatList for React-Native, with Gestures, Quick Actions, and Animations. Simple as that.
MIT License
581 stars 30 forks source link

shouldBounceOnMount属性设置为false之后动画效果依然存在 #86

Closed delicacy001 closed 2 weeks ago

esthor commented 1 month ago

(Google Translate): "The animation effect still exists after the shouldBounceOnMount property is set to false"

Hi @delicacy001, this is a simple workaround for your right now:

// shouldBounceOnMount={false} -- This is not working on 0.74+ React Native
bounceFirstRowOnMount={false} // THIS IS THE WORKAROUND

See the update in the example app: https://github.com/esthor/react-native-swipeable-list/pull/84#issue-2488144256

delicacy001 commented 2 weeks ago

Ok,Thank you!