diff options
author | Marcel Müller <marcel-mueller@gmx.de> | 2024-07-09 17:38:06 +0200 |
---|---|---|
committer | Marcel Müller <marcel-mueller@gmx.de> | 2024-07-09 17:38:06 +0200 |
commit | 2073df5c035e4faae352a391d8f3e6a310cf9753 (patch) | |
tree | b765b65ed46805891488b2646dcc49de0113e226 | |
parent | 96560fcf1996ee4b77ba91103d76487969d6be3c (diff) |
fix(MessageList): Workaround rendering issue on safari when unread marker is removed
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
-rw-r--r-- | src/components/MessagesList/MessagesList.vue | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/MessagesList/MessagesList.vue b/src/components/MessagesList/MessagesList.vue index 6abf5cbc5..db4b341ae 100644 --- a/src/components/MessagesList/MessagesList.vue +++ b/src/components/MessagesList/MessagesList.vue @@ -1193,7 +1193,10 @@ export default { }, onWindowFocus() { - this.refreshReadMarkerPosition() + // setTimeout is needed here for Safari to correctly remove the unread marker + setTimeout(() => { + this.refreshReadMarkerPosition() + }, 2) }, messagesGroupComponent(group) { |