Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with ScrollView and TextInputs on Android #301

Closed
miguelmsanchezm opened this issue Jan 31, 2017 · 1 comment
Closed

Problem with ScrollView and TextInputs on Android #301

miguelmsanchezm opened this issue Jan 31, 2017 · 1 comment

Comments

@miguelmsanchezm
Copy link

Version

  • tcomb-form-native v0.6.4
  • react-native v0.38.0

Expected behaviour

Be able to scroll even when touching the TextInput.

Actual behaviour

There is a padding of 7 set in the stylesheets/bootstrap.js
stylesheet: { ... textbox: { normal: { ... padding: 7,

Which creates a scroll inside the TextInput that takes the focus from the parent ScrollView. If we set that padding to 0, the problem is solved.
On iOS works even with the padding set to 7.

Someone has experience the same issue ?

@alvaromb
Copy link
Collaborator

Hi @miguelmsanchezm!

Yes, I'm experiencing the same issue. Working on a fit ATM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants