Spyke
Upvote Bug

Upvote Bug

So I just noticed a small bug, when I click on a post and decided to upvote the post, then clicking the X in the corner or swiping back out of the post invalidates my upvote. I would have to click the upvote button for the post on the main feed page. Just a minor glitch, not sure if it has been reported.

25
View all comments
mrmiyamoto avatar

I don’t think it’s a glitch so much as the view doesn’t update when you load the post from the main feed and vice versa.

I’ve noticed this too and I’ve also worked in app development — I think the upvote is indeed recorded the first time, if you refresh your feed I think it would show up like normal. It just doesn’t refresh the opposite feed after a vote.

1
esxhan avatar

Yes you are correct. The horizontal and vertical feeds manage data independently. The cache is essentially not getting updated when you vote. But your vote is indeed recorded, in fact if you vote in the horizontal feed first, go back to the vertical feed and then refresh it. You'll find your vote present. Trying to get this one fixed has proven to be harder than we thought.

1

I’ve run into problems with this in web apps before. Can be pretty annoying, so I understand 😅

1