narqo / react-islands

react-islands Components Library
MIT License
120 stars 13 forks source link

Lost "focused" modificator on focused TextInput #127

Open maxkoshel opened 7 years ago

maxkoshel commented 7 years ago

Repeats sometimes.

narqo commented 7 years ago

Could you provide a simple demo, or add more details, so one could reproduce the issue?

Defite commented 7 years ago

I've reproduced same case using TextInput with pressable component. There is a little possibility that "focused" modificator is lost because of this condition:

https://github.com/narqo/react-islands/blob/4732dd2a7a5d432b7c3b204417e4c12eaffe1172/src/pressable/index.js#L95