halilb / halilb/react-native-textinput-effects

Prop 'selectTextOnFocus' doesn't work on iOS

Aperta
#124 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
3k
Fork
287
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I want the text of a Kohona element to be selected as soon as the TextInput is klicked. This works fine on Android, but on iOS it doesn't. I already had a look at the Kohona.js file of the library but I couldn't find the problem.

I also tried clearTextOnFocus, this works fine on iOS. Also, if I use a normal RN , it works as well.

Some of my dependencies:
"react": "16.9.0",
"react-native": "0.61.5",
"react-native-textinput-effects": "0.6.1",

This is my code:

```javascript

import {Hideo, Kohana, Kaede} from 'react-native-textinput-effects';
// ...
this.setPoints(typeOfPoints, input)}
selectTextOnFocus={true}
useNativeDriver
/>
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.