Skip to content

Commit 56a47d4

Browse files
Merge pull request #904 from GetStream/state-update-throttle-edge
fix(Channel): Copy channel state on leading edge of throttling
2 parents c393dc7 + 42376c2 commit 56a47d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package/src/components/Channel/Channel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ const scrollToFirstUnreadThreshold = 4;
160160
const defaultThrottleInterval = 500;
161161
const defaultDebounceInterval = 500;
162162
const throttleOptions = {
163-
leading: false,
163+
leading: true,
164164
trailing: true,
165165
};
166166
const debounceOptions = {

0 commit comments

Comments
 (0)