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

TextInput get focused when i press but i want to scroll instead #17135

Closed
derakhshanfar opened this issue Dec 10, 2017 · 1 comment
Closed

TextInput get focused when i press but i want to scroll instead #17135

derakhshanfar opened this issue Dec 10, 2017 · 1 comment
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@derakhshanfar
Copy link

derakhshanfar commented Dec 10, 2017

Is this a bug report?

yes

Have you read the Contributing Guidelines?

yes

Environment

OS:  Windows 10
Node:  6.11.1
Yarn:  0.27.5
npm:  3.10.10
Watchman:  Not Found
Xcode:  Not Found
Android Studio:  2.3.3

Steps to Reproduce

When a TextInput with has textAlign: 'right' inside a ScrollView and you press on it for scrolling it will focus instead (only on Android).
here is another issue that related to this problem #12167

Expected Behavior

The correct behaviour would be to get focused only if you tap on it (without scrolling).
It works perfectly on iOS or if you remove the textAlign style

Actual Behavior

20171210_190454

Reproducible Demo

https://snack.expo.io/BJdbsooZG

@derakhshanfar derakhshanfar changed the title TextInput get focused when i tap but i want to scroll instead TextInput get focused when i press but i want to scroll instead Dec 11, 2017
@stale
Copy link

stale bot commented Feb 16, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Feb 16, 2018
@stale stale bot closed this as completed Feb 23, 2018
@facebook facebook locked and limited conversation to collaborators May 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

1 participant