Skip to content

Commit

Permalink
[quickreply] fix scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowsink committed Sep 10, 2024
1 parent 96a38c6 commit 2ab9611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/quickreply/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function scrollToReplyingMsg() {
'[data-list-id="chat-messages"]',
);
const replyingMsg = Array.from(messageContainer.children).find((elem) =>
elem.firstChild?.class?.includes("replying-"),
elem.firstElementChild?.className?.includes("replying_"),
);

replyingMsg?.scrollIntoView({
Expand Down

0 comments on commit 2ab9611

Please sign in to comment.