github.com/shurcooL/issuesapp/...

Sometimes after adding a reaction, it doesn't get highlighted in blue. #36

Closeddmitshur opened this issue 2 years ago
dmitshur commented 2 years ago

Normally, after adding a reaction, it highlights in blue:

Image

Image

In some situations, it doesn't get highlighted:

Image

Write Preview Markdown
dmitshur commented 2 years ago ยท edited

This is because templates aren't reloaded in postToggleReactionHandler, so containsCurrentUser and reactionTooltip template functions weren't updated for current user.

It was only happening when more than 1 user was using issuesapp, that's why it wasn't 100% reproducible.

Write Preview Markdown
dmitshur commented 2 years ago
Write Preview Markdown
dmitshur closed this 2 years ago
to comment.