Skip to content

Conversation

@Pratheek555
Copy link
Contributor

Brief Title

Implement initial scroll-to-message logic for navigating to attachments from the All Files view

Acceptance Criteria fulfillment

  • Clicking a file in the All Files view navigates to the original message
  • The chat scrolls smoothly to the target message

Fixes #1057

Video/Screenshots

EmbeddedChat._.Simple.-.Simple.Storybook.-.Brave.2026-01-07.13-46-01.mp4

PR Test Details

Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-<pr_number> after approval. Contributors are requested to replace <pr_number> with the actual PR number.

@Spiral-Memory
Copy link
Collaborator

If a file isn’t in the current DOM, how would you navigate to that file attachment? Similar issues, like finding a starred message, often require implementing solutions with tools such as react-virtuoso, tanstack, or similar libraries. It would great for everyone to collaborate on this for a sustainable fix.

Ref: #1059

@Pratheek555
Copy link
Contributor Author

Pratheek555 commented Jan 21, 2026

Hey @Spiral-Memory

I have been looking into using Tanstack query to solve this issue, will be working on a PR towards it. Please do let me know if you wanted anything different.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable navigation to original message when clicking files in “Files” view

2 participants