20260626221809
This commit is contained in:
1 parent
5983d29128
commit
a45accd2de
12 files changed
+306
-92
No files matched your search
@@ -0,0 +1,12 @@
|
||||
# 2026-06-26
|
||||
|
||||
## chat/index.tsx 乱码修复
|
||||
- 文件中所有中文字符(注释、placeholder、UI 文案)因编码问题出现 mojibake(乱码)
|
||||
- 文件是 UTF-8 with BOM(EF BB BF),BOM 可能导致了编码识别问题
|
||||
- 修复了所有 14 处乱码字符串,同时清除了文件头的 BOM
|
||||
- 修复内容:在线栏、消息气泡、未知、来自、撤回、删除、页面、成员映射、加载历史、加载更多、合并消息(旧→新)、加载中...、说点什么...、暂无消息,开始聊天吧
|
||||
|
||||
## chat/index.tsx 输入框获焦滚动优化
|
||||
- 将 `keyboardWillShow` 改为 `keyboardDidShow`,确保键盘动画完成后再滚动
|
||||
- 添加 `InteractionManager.runAfterInteractions` 用于无延迟的滚动调用
|
||||
- 为 FlatList 添加 `maintainVisibleContentPosition={{ minIndexForVisible: 0, autoscrollToTopThreshold: 10 }}`,让 FlatList 在 viewport 变化时(键盘弹起/收起)自动保持可见内容位置
|
||||
Reference in new issue
Block a user