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

ScrollView not scrolling on Android if TextInput components are right-aligned #26526

Closed
daveyjones opened this issue Sep 21, 2019 · 4 comments
Closed
Labels
Bug Component: ScrollView Component: TextInput Related to the TextInput component. Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@daveyjones
Copy link

daveyjones commented Sep 21, 2019

When TextInput components with right-aligned text are used within a ScrollView, scrolling does not work on Android.

React Native version: 0.60.5

This demo shows input fields in a scroll view—it scrolls just fine:
https://snack.expo.io/r1oQbV4vS

This demo is the same as the one above, but the input text is right-aligned. It doesn't scroll:
https://snack.expo.io/SyxJHb4NDr

I would expect both demos to scroll, regardless of text alignment.

@daveyjones daveyjones added the Bug label Sep 21, 2019
@react-native-bot react-native-bot added Component: ScrollView Component: TextInput Related to the TextInput component. Platform: Android Android applications. labels Sep 21, 2019
@react-native-bot
Copy link
Collaborator

Can you run react-native info and edit your issue to include these results under the React Native version: section?

If you believe this information is irrelevant to the reported issue, you may write `[skip envinfo]` alongside an explanation in your Environment: section.

@daveyjones
Copy link
Author

Issue #25594 may be related.

@stale
Copy link

stale bot commented Dec 21, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. 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 Dec 21, 2019
@stale
Copy link

stale bot commented Dec 28, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Dec 28, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Dec 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Component: ScrollView Component: TextInput Related to the TextInput component. Platform: Android Android applications. 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

2 participants