fix(mobile): 修复键盘视口与输入缩放并优化删除交互
- 同步 Safari 可视高度和偏移,限制聊天页面滚动并保留手动缩放 - 统一移动输入字号并限制消息输入框高度 - 分离滑动删除按钮,将确认和选择弹窗改为居中样式
This commit is contained in:
@@ -177,7 +177,7 @@ export function ConversationDeleteDialog({
|
||||
</span>
|
||||
<h2 id={id}>删除这段对话?</h2>
|
||||
<p id={`${id}-description`}>
|
||||
「{title}」的对话记录将被永久删除,无法恢复。
|
||||
「{title}」将从你的对话列表中移除,你将无法继续查看。后台仍保留聊天记录。
|
||||
</p>
|
||||
{error && (
|
||||
<p className="dh-delete-error" role="alert">
|
||||
@@ -185,7 +185,7 @@ export function ConversationDeleteDialog({
|
||||
</p>
|
||||
)}
|
||||
<div className="dh-delete-actions">
|
||||
<button type="button" disabled={busy} onClick={onCancel}>
|
||||
<button type="button" autoFocus disabled={busy} onClick={onCancel}>
|
||||
取消
|
||||
</button>
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user