xinthink / react-native-material-kit

Bringing Material Design to React Native
https://rnmk.xinthink.com
MIT License
4.84k stars 575 forks source link

Textfield Not compatible with react-native-navigation #368

Open jamesguan opened 6 years ago

jamesguan commented 6 years ago

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 commented 6 years ago

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

Tamiyadd commented 6 years ago

i have the same problem :(

arma7x commented 6 years ago

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

jamesguan commented 6 years ago

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

arma7x commented 6 years ago

@jamesguan is this happen in debug or release build?

arma7x commented 6 years ago

@jamesguan downgrade to rn0.49, works for me

mvsmal commented 6 years ago

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

mvsmal commented 6 years ago

Fixed with upgrade to RN 0.52

jamesguan commented 6 years ago

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.

DanielBoening commented 6 years ago

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

arma7x commented 6 years ago

Solve for me

jamesguan commented 6 years ago

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

Crash-- commented 6 years ago

Thank you for the investigation!

M-Jas commented 6 years ago

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?