Like, Unlike,, dislike and undo dislike problem?

Douglas Simao Posted in Component Development 6 years ago

HI there, I am not sure it is a bug or it is supposed to work like that..

but when I use this component you can like and dislike the same post where I thought when you like and then dislike it would remove the like.. does it make sense?

Replies
German Michael Zülsdorff Replied 6 years ago

Well, I think it depends on the posting...
Let's assume I posted: "I love spending my holdidays at the seaside and windsurfing"

And you'd love spending your holidays at the seaside, too - but windsurfing is a no-go.

Then, isn't it smart you can like one part of my post and dislike the other?

gb Douglas Simao Replied 6 years ago

I got it, thanks, just didnt make sense to me someone like and dislike same post..

Indonesian Arsalan Shah Replied 6 years ago

Like and Dislike are two different components. If you wanted Like/Unlike only you need to disable the dislike component. However Dislike feature requires Likes component.

gb Rishi B Replied 6 years ago

"like" and 'dislike" are counted as separate attributes. if you have previously liked a post, and then dislike it, it will NOT undo the like (it's not supposed to). to do that, you have to click "unlike".