Fix/FE/#457: 이전 채팅 불러 올때 채팅 유지 기능 버그 수정 #479
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤷♂️ Description
이전 채팅을 불러온 다음 스크롤을 조정하는 로직을 수정했어요.
이전 채팅이 50개고, 불러오는 채팅이 50개면 chatLogData.size = 100, prevChatLogDataSize = 50 이 되어야하는데 이전 채팅을 불러오는 동안 chatLogData.size = 50, prevChatLogDataSize = 50 일때 스크롤이 움직이는 경우가 있어 이 때의 스크롤 움직임을 막아 주었더니 나머지 코드를 간단하게 수정할 수 있었습니다.
📝 Primary Commits
📷 Screenshots
수정하기 전
_2024_06_26_14_47_42_875.mp4
수정 후
_2024_06_26_15_23_50_843.mp4
close #474