Skip to content

Conversation

@git-babel
Copy link
Contributor

@git-babel git-babel commented Apr 11, 2025

Ticket

CLNP-6644

Changelog

  • Fix the bug where thread messages are not loaded when the scroll at the top
    • dependency list has some missing elements.

@git-babel git-babel requested a review from chrisallo April 11, 2025 01:45
@netlify
Copy link

netlify bot commented Apr 11, 2025

Deploy Preview for sendbird-uikit-react ready!

Name Link
🔨 Latest commit bc32d59
🔍 Latest deploy log https://app.netlify.com/sites/sendbird-uikit-react/deploys/67f874516dff530008b3c2c9
😎 Deploy Preview https://deploy-preview-1328--sendbird-uikit-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@chrisallo chrisallo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

일단 approve는 드렸는데 정확히 어떤 문제인지 궁금해서ㅎㅎ 간단하게 설명을 부탁드려도 될까요?

@git-babel
Copy link
Contributor Author

@chrisallo 스레드 메시지를 가져올 때 초기에는 최신순으로 30개를 가져오는데, 그 이후에 스크롤을 올려서 top까지 가도 이전 메시지를 fetch하지 않는 버그가 있었습니다. 원인은 useThread의 fetchPrev가 threadListState에 의존성을 가지고 있었는데 상위 레벨에서 이 의존성을 제대로 추가해주지 않았습니다.

@git-babel git-babel merged commit 2bd06e7 into main Apr 15, 2025
10 checks passed
@bang9 bang9 deleted the fix/CLNP-6644 branch November 7, 2025 04:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants