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

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

オープン
#2,471 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
15.9k
フォーク
1.4k
平均マージ
1日 17時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。