Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[iOS] Return on an empty list item adds another item instead of ending the list

Aperta
#810 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 8 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
50/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
ios, react-native
Ambito
mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

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:

  1. Toggle an unordered list (toggleUnorderedList()) or an ordered list.
  2. Type something, press Return.
  3. 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
Lingua principale
C
Stelle
1.4k
Fork
69
Merge medio
9g 22h
PR unite (30g)
6

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di software-mansion/react-native-enriched-html

Tutte le issue di software-mansion/react-native-enriched-html

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.