Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RCTTextField is not a descendant of RCTShadowView error

I'm currently with getting RCTTextField to work with toggling keyboard. Whenever I click on the TextField and keyboard is supposed to toggle I get the following :

ExceptionsManager.js:76 view <RCTShadowView: 0x7faa0dcc7e90; viewName: RCTTextField; 
reactTag: 125; frame: {{10, 7.5}, {304, 30}}> (tag #125) is not a descendant of <RCTShadowView: 0x7faa101d0af0; 
viewName: RCTView; reactTag: 18; frame: {{0, 0}, {315, 502}}> (tag #18)

I have no idea how to track what the underlying issue might be - looking for some more details or direction in here.

Thanks!

like image 725
Paweł Avatar asked Jun 13 '16 11:06

Paweł


1 Answers

I have found out what the problem in my case was - as the answer seems to help people solve similar issues here it is :

In my projects the offending piece was react-native-keyboard-aware-scroll-view. It was a known issue but pretty hard to track down. Another link that might be helpful - #7876

like image 74
Paweł Avatar answered Sep 20 '22 17:09

Paweł