[iOS] Return on an empty list item adds another item instead of ending the list
维护者通常 8 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 50/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- ios, react-native
- 领域
- mobile
调研方向
The bug is in the iOS side of EnrichedTextInput, where the return key is handled while the caret sits in an empty list item. Start by finding the return-key handling for lists and reproducing it with toggleUnorderedList() and an ordered list in the example app on the iOS simulator. Done means that pressing return on an empty bullet or numbered item removes the list marker and leaves normal text, while non-empty items still add a new item.
由索引模型根据 Issue 内容生成。
描述
Describe the bug
In EnrichedTextInput, return on an empty bullet or numbered list item adds a new empty item below it. The user must tap the list button again, or press backspace to get back to normal text. Most editors on iOS end the list on return in an empty item, for example Apple Notes or Google Docs, which is why i think this will be perceived as a bug rather than a missing feature by the user.
To Reproduce
Steps to reproduce the behavior:
- Toggle an unordered list (toggleUnorderedList()) or an ordered list.
- Type something, press Return.
- The caret is now on the second (empty) item. Press return again.
Expected behavior
Return on an empty list item ends the list.
Screenshots
Screen cap: https://github.com/user-attachments/assets/3953a8c2-467d-42b0-a668-8e4c272fd0eb
Device:
- Device: iPhone simulator
- OS: iOS 27.0
- Version 1.1.1
- 主要语言
- C
- 星标
- 1.4k
- 派生
- 69
- 平均合并
- 9 天 22 小时
- 30 天内合并 PR
- 6
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
software-mansion/react-native-enriched-html 的其他 Issue
-
bug
难度 5/5 一周以上 新手友好度 20/100
software-mansion/react-native-enriched-html#824 ·
维护者通常 8 天内回复
-
[iOS] Checkbox checked state lost/misplaced after an inline image可能已有人在做 @henrikra 于 3 天前认领。 未关闭bug
难度 3/5 1-2 天 新手友好度 35/100
software-mansion/react-native-enriched-html#819 · 1 条评论 ·
维护者通常 8 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 76/100
software-mansion/react-native-enriched-html#818 · 1 条评论 ·
维护者通常 8 天内回复
-
[iOS] Tags not parsed on iOS below a certain string length可能已有人在做 @hejsztynx 于 6 天前认领。 未关闭bug
难度 4/5 3-5 天 新手友好度 42/100
software-mansion/react-native-enriched-html#811 · 3 条评论 ·
维护者通常 8 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
software-mansion/react-native-enriched-html#803 ·
维护者通常 8 天内回复
查看 software-mansion/react-native-enriched-html 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
quickjs-ng/quickjs#1836 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
open-quantum-safe/liboqs#2637 ·
维护者通常 1 天内回复
-
Go device SDK: Whisper transcriber keeps buffering and transcribing audio appended after Stop()可能已有人在做 @apoorvdarshan 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
BasedHardware/omi#22770 ·
维护者通常 1 天内回复
-
fido_do_ecdh() reports any getKeyAgreement failure as FIDO_ERR_INTERNAL可能已有人在做 @brlumen 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
joncampbell123/dosbox-x#6698 ·
维护者通常 1 天内回复