- Introduced AIRootStateContext to manage the scroll threshold state across components. - Updated AIChatRoot, ChatHeader, ChatInterface, and WelcomeScreen to utilize the new context for scroll behavior. - Added SCROLLED_BEYOND_THRESHOLD constant to define the scroll limit for triggering state changes. These changes enhance the chat interface by allowing components to react to scroll position, improving user experience and interaction dynamics. Signed-off-by: Innei <tukon479@gmail.com> |
||
|---|---|---|
| .. | ||
| desktop | ||
| mobile | ||
| ssr | ||