Skip to content

Conversation

olegshulyakov
Copy link
Owner

@olegshulyakov olegshulyakov commented Sep 29, 2025

  • Introduce configurable options for useChatScroll hook (elementRef, behavior)
  • Remove MutationObserver from useChatScroll hook (was causing unnecessary re-renders)
  • Remove useThrottle hook usage in PendingMessage component
  • Add scroll anchor element to PendingMessage for better scroll control
  • Consolidate pending message logic into main component
  • Rename ThoughtProcess component to ThinkingSection for clarity
  • Add ChatMessageProps, EditMessageProps and ThinkingSectionProps interfaces

…mprove chat scrolling behavior

- Introduce configurable options for useChatScroll hook (elementRef, behavior)
- Remove MutationObserver from useChatScroll hook (was causing unnecessary re-renders)
- Remove useThrottle hook usage in PendingMessage component
- Add scroll anchor element to PendingMessage for better scroll control
- Consolidate pending message logic into main component
…ptimization

- Rename ThoughtProcess component to ThinkingSection for clarity
- Add ChatMessageProps, EditMessageProps and ThinkingSectionProps interfaces
@olegshulyakov olegshulyakov changed the title fix: Auto Scroll fix: Auto-scroll too sticky Sep 29, 2025
@olegshulyakov olegshulyakov linked an issue Sep 29, 2025 that may be closed by this pull request
@olegshulyakov olegshulyakov merged commit a38c872 into main Sep 29, 2025
10 checks passed
@olegshulyakov olegshulyakov deleted the fix/auto-scroll branch September 29, 2025 19:42
@olegshulyakov
Copy link
Owner Author

@ServeurpersoCom Let me know if #179 still exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Auto-scroll too sticky when LLM streams code

1 participant