LemmyNet / lemmy-ui

The official web app for lemmy.
https://join-lemmy.org/
GNU Affero General Public License v3.0
892 stars 334 forks source link

Dissmissing a notification causes the notification box to flicker #2655

Open K4LCIFER opened 3 months ago

K4LCIFER commented 3 months ago

Requirements

Summary

If you have notifications in the notification box and you click the check mark on a notification to dismiss it, the notification box will flicker a few times as the notification in question is cleared.

video.webm

Steps to Reproduce

  1. Have notifications.
  2. Go to the notification box.
  3. Click on the checkmark on a notification to dismiss it.
  4. Observe that the entire notification box flashes after you click the button.

Technical Details

Lemmy Instance Version

0.19.3

Lemmy Instance URL

sh.itjust.works

dessalines commented 2 months ago

This has to do with it refetching everything after marking as read. The refetch is probably unecessary, but this is also a pretty minor.