Facebook reactions is a new liking system that Facebook is trialing on a limited basis. Why wait for them to roll it out when we can roll it out ourselves
Thanks to Engadget who created a gif of the animations from a youtube video. After a little slicing up and conversion from white to transparent we have a nice bunch of terrible animated gifs… but they’re animated so deal with it. Like/Love aren’t transparent since imagmagick was destroying the white in them.
This code will target .12 and above, running on .11 seemed to cause some slightly different layout issues. I’ve fixed them on RNPlay, so just a heads up. The difference is add
height:50 to our
Update – Android:
Animated Gifs are coming to React Native Android in .13. Also Android does not support
overflow: visible so in order to get android to work we would need to get creative. On open they sit within the
overflow: hidden container, once slid in we’d have to move them outside. Although they are gifs, so you’d have to find a way to sync em up.
Maybe 2 sets, one slides in, the other is rendered but hidden, then you toggle which is hidden and slide the other up. Fun stuff!
What are we building