mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-01 17:10:24 +08:00
- Replace forwardRef/useImperativeHandle with prop-based focus control - Add shouldFocus and onFocused props to ChatInput - Use useEffect with setTimeout for proper cleanup - Removes unnecessary complexity while maintaining same functionality