Text prop selectable not working since upgrade on iOS 26
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C++
- Sterne
- 127k
- Forks
- 25.3k
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 4
Beschreibung
Description
When using the selectable prop on a Text component, the selection behavior doesn’t work on iOS 26 as expected. It doesn’t highlight the text with a selection color or allow proper text selection — it only shows the copy menu.
Note:
- Discovered on my iphone 13 ios 26.2. Used to work before doing the upgrade on my iphone.
- Using RN with Expo
Steps to reproduce
- Long press on a Text component with the
selectableprop.
React Native Version
0.81.5
Affected Platforms
Runtime - iOS
Output of npx @react-native-community/cli info
will add later
Stacktrace or Logs
none
MANDATORY Reproducer
https://github.com/yafkari/ios-selectable-text-not-working
Screenshots and Videos
No response
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit dem obligatorischen Reproducer unter yafkari/ios-selectable-text-not-working und überprüfe das Verhalten unter iOS 26.2 mit React Native 0.81.5. Untersuche das Verhalten von auswählbarem Text unter iOS und bestätige anschließend, dass eine Auswahl durch langes Drücken den Text hervorhebt, eine ordnungsgemäße Auswahl ermöglicht und weiterhin das Kopiermenü anzeigt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- ios, react-native
- Bereich
- mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100