Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Improve [UI/UX] [Front End] [Chat] Scrolling #281

Merged
merged 2 commits into from
Feb 22, 2024
Merged

Improve [UI/UX] [Front End] [Chat] Scrolling #281

merged 2 commits into from
Feb 22, 2024

Conversation

H0llyW00dzZ
Copy link
Owner

- [+] feat(chat.tsx): improve chat scroll functionality
      - Add onScroll function to track user scroll state
      - Modify scrollDomToBottom to prevent auto-scroll when user scrolls up
      - Add scrollToBottomSmooth function for smooth scrolling
      - Update logic in _Chat to better handle auto-scroll
      - Replace scrollToBottom with scrollToBottomSmooth in chat component
Copy link

CodeQL analysis is complete for PR #281

@H0llyW00dzZ H0llyW00dzZ marked this pull request as ready for review February 22, 2024 13:52
- [+] fix(chat.tsx): include props in useEffect dependencies in ChatActions function
@H0llyW00dzZ H0llyW00dzZ merged commit 3fa698a into main Feb 22, 2024
5 checks passed
@H0llyW00dzZ H0llyW00dzZ deleted the scrolling branch February 22, 2024 14:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant