react-native-material-kit icon indicating copy to clipboard operation
react-native-material-kit copied to clipboard

Textfield Not compatible with react-native-navigation

Open jamesguan opened this issue 7 years ago • 14 comments

It seems the Textfield onfocus underlining animation only works on the initially loaded page, but it stops working when the component is re-rendered on a different navigation screen.

jamesguan avatar Nov 12 '17 06:11 jamesguan

I've posted an example of what I mean. It seems that these components don't re-render properly when changing views.

screen shot 2017-12-03 at 11 16 21 am screen shot 2017-12-03 at 11 16 41 am

jamesguan avatar Dec 03 '17 16:12 jamesguan

i have the same problem :(

Tamiyadd avatar Dec 07 '17 09:12 Tamiyadd

me too on android device, using RN 0.51. But only in release build

arma7x avatar Jan 03 '18 10:01 arma7x

Could this be that there’s logic similar to material-design-lite for websites that use the componentHandler.upgradeDOM() or componentHandler.upgradeAllRegistered?

jamesguan avatar Jan 03 '18 13:01 jamesguan

@jamesguan is this happen in debug or release build?

arma7x avatar Jan 04 '18 19:01 arma7x

@jamesguan downgrade to rn0.49, works for me

arma7x avatar Jan 05 '18 17:01 arma7x

RN 0.51, text field doesn't show underline in release mode when used with react-navigation

mvsmal avatar Jan 08 '18 22:01 mvsmal

Fixed with upgrade to RN 0.52

mvsmal avatar Jan 08 '18 23:01 mvsmal

It looks like this issue is not only with this library but other libraries as well when it comes to react-native-navigation. I also, mislabeled the title, I was referring to the react-native-navigation library by wix, not react-native-navigator. I'll see if upgrading to RN 0.52 will solve it.

jamesguan avatar Jan 17 '18 18:01 jamesguan

Did the update solve it? Did you find a solution?

DanielBoening avatar Jan 23 '18 15:01 DanielBoening

Solve for me

arma7x avatar Jan 23 '18 18:01 arma7x

Solved for me as well by upgrading to RN 0.52. You can close the issue if you want now.

jamesguan avatar Jan 23 '18 21:01 jamesguan

Thank you for the investigation!

Crash-- avatar Jan 24 '18 09:01 Crash--

I'm seeing this issue RN 53.3 React Native Nav V1. Besides updating RN, did anyone do anything else to get this to work?

M-Jas avatar Aug 22 '18 14:08 M-Jas