feat(chat): animate draft session transition
This commit is contained in:
@@ -7,6 +7,14 @@ everything between typing and sending.
|
||||
own state and wires these modules together; it should not grow logic that
|
||||
belongs to one of them.
|
||||
|
||||
`ChatContainer.tsx` keeps one `ChatInput` mounted while a new-session draft
|
||||
becomes its first session. Draft-only UI first fades for 100ms while the editor
|
||||
stays in place. The parent then moves the editor to its final session position
|
||||
with a 120ms transform-only FLIP animation. Reduced-motion mode skips these
|
||||
transitions. Do not restore separate draft and session composer branches:
|
||||
remounting the editor loses focus and interrupts the transition. Keep the
|
||||
existing mobile fixed-position rules unchanged.
|
||||
|
||||
## Layers
|
||||
|
||||
| Directory | Owns |
|
||||
|
||||
Reference in New Issue
Block a user