ag-ui-protocol / ag-ui-protocol/ag-ui

fix(dojo): make mobile chat drag-to-close reachable

未關閉
#2,471 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
15.9k
分支
1.4k
平均合併
1 天 17 小時
30 天內合併 PR
163

描述

## Problem

`useMobileChat` clamps `chatHeight` to 50–100%, then closes on mouseup only when `chatHeight < 50`. Because the stored height never falls below 50, the close-and-reset branch is unreachable and dragging downward cannot close the mobile chat.

## Expected behavior

Dragging below the close threshold closes the mobile chat and resets it to `defaultChatHeight`, while the rendered panel remains constrained to its intended height range.

## Verification

Add focused coverage for the close threshold and reset behavior.

Discovered while reviewing #2460; this is pre-existing and separate from that PR's lint-only scope.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。