Both Like & Dislike button showing at same time

In my app, users can like posts. but the problem is when they like a post both like and dislike button will show for few seconds (maybe 1second). anyway to change??

Can you screenshot the actions connected to the like & dislike buttons?




Every images connected to it…

Sorry— I replied but then realized I was getting your post mixed up with another’s. So, I see the first step in both actions is to update the “Liked?” value, which matches your action conditions. Good. I believe it’s related to the fact that they’re on the same button bar, which probably makes sense for your layout. How long do both buttons appear at the same time? Is it like longer than 1sec?

Just around a sec but I won’t count the exact time but you can try for yourself by liking any of the posts https://snapverse.glide.app :sweat_smile:

Do you have any solution for this?

1 Like