A field has a View in it and a component which has a Touchable Opacity deep inside it. When I click on it Keyboard open, it doesn't get clicked and scrolls to top of the page. On keyboard hidden when I click on it it works as expected. Why does the form scrolls to top?
DietaryBoxes component itself has several DietaryBox components and communicate with them using props. It works like this through props:
MainComponent->DietaryBoxes->DietaryBox->DietaryBoxes->MainComponent
It seems that the form thinks that an outside click was detected and some validation works and that is why it is scrolling to top. If so, is there a way to turn this feature off for a selected field (or for entire form)?
A field has a View in it and a component which has a Touchable Opacity deep inside it. When I click on it Keyboard open, it doesn't get clicked and scrolls to top of the page. On keyboard hidden when I click on it it works as expected. Why does the form scrolls to top?
DietaryBoxes component itself has several DietaryBox components and communicate with them using props. It works like this through props:
MainComponent->DietaryBoxes->DietaryBox->DietaryBoxes->MainComponent
It seems that the form thinks that an outside click was detected and some validation works and that is why it is scrolling to top. If so, is there a way to turn this feature off for a selected field (or for entire form)?