Open Kyogre opened 2 years ago
same happens, when you click on a link, contained in preview of a linked message, in a desktop app (Windows, rocket electron v3.8.1). Incorrect position and no highlighting. Demo: https://user-images.githubusercontent.com/2260980/161321162-0f13ab19-eef2-482f-a128-982dcb874885.mp4
Hi @Kyogre , I would love to take on this issue and contribute to the project. Could you please assign it to me if it's available? Looking forward to your response. Thanks!
@juliajforesti hi! Can you assign, please?
Description:
Link to the message teleports user to wrong scroll position when link opened in Firefox.
Steps to reproduce:
Expected behavior:
Firefox loads the page, set correct scroll position focused on the correct post, then highlights it with yellow. Chrome browser is not affected at all, so you can see expected behavior there.
Actual behavior:
Firefox teleports user to the message before the page fully load, thus scroll position get changed and user can't see correct message. Video demo: https://user-images.githubusercontent.com/2260980/160237330-5e4c8cd1-5712-4990-8571-992dc8cb572b.mp4 Sometimes it doesn't reproduce and Firefox successfully achieves teleporting to correct position, but it happens very rarely.
Server Setup Information:
Checked on https://open.rocket.chat/channel/general
Client Setup Information
Additional context
Discussed here: https://forums.rocket.chat/t/link-to-message-teleports-to-wrong-scroll-position-in-firefox/13623