We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a1a664 commit 1b1b77aCopy full SHA for 1b1b77a
package/src/components/Channel/Channel.tsx
@@ -203,7 +203,7 @@ export const reactionData: ReactionData[] = [
203
* If count of unread messages is less than 4, then no need to scroll to first unread message,
204
* since first unread message will be in visible frame anyways.
205
*/
206
-const scrollToFirstUnreadThreshold = 4;
+const scrollToFirstUnreadThreshold = 0;
207
208
const defaultThrottleInterval = 500;
209
const defaultDebounceInterval = 500;
@@ -1042,6 +1042,7 @@ const ChannelWithContext = <
1042
},
1043
() => {
1044
if (unreadMessageIdToScrollTo) {
1045
+ setTargetedMessage(unreadMessageIdToScrollTo);
1046
restartSetsMergeFuncRef.current();
1047
}
1048
0 commit comments