Skip to content
Open
5 changes: 5 additions & 0 deletions .changeset/slimy-actors-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rocket.chat/meteor': patch
---

Fixed thread message preview click behavior to navigate to the clicked reply message instead of unintentionally jumping to the parent message
Comment thread
MartinSchoeler marked this conversation as resolved.
Resolved
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ const ThreadMessagePreview = ({ message, showUserAvatar, sequential, ...props }:

const handleThreadClick = () => {
if (!isSelecting) {
if (!sequential) {
return parentMessage.isSuccess && goToThread({ rid: message.rid, tmid: message.tmid, msg: parentMessage.data?._id });
}

return goToThread({ rid: message.rid, tmid: message.tmid, msg: message._id });
}

Expand Down