mirror of
https://github.com/OpenBMB/ChatDev.git
synced 2026-04-25 11:18:06 +00:00
696 B
696 B
ADDED Requirements
Requirement: Fullscreen Chat Scrolling
The chat messages area SHALL be scrollable when the chat panel is in fullscreen mode and messages exceed the visible viewport height.
Scenario: Messages overflow in fullscreen chat
- WHEN the chat panel is in fullscreen mode (
viewMode === 'chat') - AND the number of chat messages exceeds the visible area
- THEN the
.chat-messagescontainer SHALL allow vertical scrolling viaoverflow-y: auto
Scenario: Scroll position preserved on new message
- WHEN the user is scrolled to the bottom of the chat
- AND a new message arrives
- THEN the chat SHALL auto-scroll to show the latest message