Platforms: Pastes past `maxLength` on iOS

Aperta
#1,565 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #1832 di @houko — chiusa senza merge

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
go, ios
Ambito
mobile

Direzione di ricerca

Read pitfalls.md (iOS/UIKit and Mac Catalyst) and the roadmap entry at line 458 of docs/roadmap.md, then look at NSH's #1647 for the same paste-vs-maxLength crash. The work sits in the iOS text-input paste and undo path, where the delegate must clip the paste to maxLength so UIKit's next undo does not crash; note that an open pull request #1832 already targets this. Done means a paste longer than maxLength is clipped, inserted and undone cleanly in the iOS simulator on iOS 26.

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

Descrizione

enhancement help wanted
Context

Part of #1322. The roadmap's Finish the existing platforms section lists this item (line 458 of docs/roadmap.md at f7fc2f5c) with no issue.

Reference: pitfalls.md (iOS, UIKit and Mac Catalyst), NSH's #1647

Acceptance
  • A paste longer than an input's maxLength is clipped, inserted and undone without UIKit's crash at the next undo, which NSH found when the delegate refuses or replaces a paste on iOS 26, checked in the simulator

For: 开发@柚子

Lingua principale
Go
Stelle
684
Fork
41
Merge medio
8h 8m
PR unite (30g)
911

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 nsgo-dev/nsgo

Tutte le issue di nsgo-dev/nsgo

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.