react-native-simple-animations icon indicating copy to clipboard operation
react-native-simple-animations copied to clipboard

If 'animateOnUpdate' update of a property triggers animation of ALL

Open kivanov82 opened this issue 5 years ago • 1 comments
trafficstars

I'm having a few <SimpleAnimation> siblings, all having animateOnUpdate=true Their props do not overlap (i.e, using different ones from 'state'), however update of a prop of one of them triggers animation of all. Suggestions?

PS. Thanks for a great library! Simplifies stuff a lot!

kivanov82 avatar Feb 03 '20 16:02 kivanov82

@kivanov82 I'll take a look at this and see if I can figure out a good solution without adding too much complexity to the component props. You have a simple code sample I could use for testing?

joeyschroeder avatar Feb 20 '20 15:02 joeyschroeder