[iOS] Return on an empty list item adds another item instead of ending the list
Maintainer thường phản hồi trong vòng 5 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 50/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- ios, react-native
- Lĩnh vực
- mobile
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- C
- Star
- 1.4k
- Fork
- 69
- Merge trung bình
- 8 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của software-mansion/react-native-enriched-html
-
HTML normalizer adds empty list items for whitespace around blocks inside <li>Có thể đã có người làm @RaphaelFakhri đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
software-mansion/react-native-enriched-html#829 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 73/100
software-mansion/react-native-enriched-html#826 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
software-mansion/react-native-enriched-html#818 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
[iOS] Tags not parsed on iOS below a certain string lengthCó thể đã có người làm @hejsztynx đã nhận 7 ngày trước. Đang mởbug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
software-mansion/react-native-enriched-html#811 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Support for `<raw-text-block>`Đang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
software-mansion/react-native-enriched-html#803 ·
Maintainer thường phản hồi trong vòng 5 ngày
Tất cả issue của software-mansion/react-native-enriched-html
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
valkey-io/valkey#4979 · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
colbymchenry/codegraph#2770 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
canard.c 5.0.0: static random() conflicts with newlib's random() (fails to build on ESP-IDF)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
OpenCyphal/libcanard#264 ·
-
area/ysql kind/enhancement priority/medium status/awaiting-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
yugabyte/yugabyte-db#35578 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày