Non-editable report field (text) in an expense report still shows a caret when focused

未关闭 适合新手
#107,705 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
70/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
react-native, typescript
领域
frontend

调研方向

在 Windows Chrome 上复现:审批后,workspace 中有一个没有初始值的文本报告字段。先找到在报告视图中渲染报告字段值的组件(在 src/components 中搜索报告字段文本输入框)。检查该输入框在报告审批后是真的被禁用/只读,还是仅仅被样式设置成不可编辑,因为光标意味着它仍然会获得焦点。完成的标准是:聚焦该字段时不显示光标,而真正可编辑的字段仍保留光标;用所列平台上的复现步骤确认。

由索引模型根据 Issue 内容生成。

描述

Bug Daily

If you haven’t already, check out our contributing guidelines for onboarding. To join our Slack channel, fill out this form.


Version Number: 9.5.51-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @bernhardoj
Slack conversation (hyperlinked to channel name): #expensify_bugs

Action Performed:

Prerequisite: have a workspace with report fields enabled and a text type report field without initial value
Action performed:

  1. As an employee, submit an expense report
  2. As an approver, approve the report
  3. As an employee, open the report
  4. Press the report field text input

Expected Result:

There is no caret

Actual Result:

There is an input caret

Workaround:

Unknown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

Screenshot 2026-11-23 113316

https://github.com/user-attachments/assets/52ac964d-f5c6-4ebd-9d96-6000e0f9d2b9

View all open jobs on GitHub

主要语言
TypeScript
星标
5k
派生
4k
平均合并
2 天 16 小时
30 天内合并 PR
593

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Expensify/App 的其他 Issue

查看 Expensify/App 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。