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

[Android] Avoid erratic scrolling on submit #5026

Merged
merged 6 commits into from
Nov 4, 2020

Conversation

golddove
Copy link
Member

@golddove golddove commented Nov 3, 2020

Related Issue

Fixes #5018
Fixes #5019

Description

Do not clear focus explicitly on submit. This avoids erratic scrolling on submit when multiple cards are in a recyclerview.

Known issue: If the first invalid input was already in focus before submit, it will not scroll into view.

How Verified

Manual testing of several cards in mobilechatapp

v1.3/Scenarios/InputsWithValidation.json:
5019

Microsoft Reviewers: Open in CodeFlow

@almedina-ms almedina-ms merged commit 5c07625 into main Nov 4, 2020
@almedina-ms almedina-ms deleted the golddove/scrolling-issues branch November 4, 2020 01:55
golddove added a commit that referenced this pull request Nov 4, 2020
* Request focus from touch

* Clear focus only on invalid input

* Don't clear focus

* Removed commented lines

* Update javadoc
golddove added a commit that referenced this pull request Nov 4, 2020
* Request focus from touch

* Clear focus only on invalid input

* Don't clear focus

* Removed commented lines

* Update javadoc
rankush pushed a commit to rankush/AdaptiveCards that referenced this pull request May 8, 2024
* Request focus from touch

* Clear focus only on invalid input

* Don't clear focus

* Removed commented lines

* Update javadoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants