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

iOS input updates #5030

Merged
merged 5 commits into from
Nov 4, 2020
Merged

iOS input updates #5030

merged 5 commits into from
Nov 4, 2020

Conversation

jwoo-msft
Copy link
Member

@jwoo-msft jwoo-msft commented Nov 4, 2020

Related Issue

Fixed #5023, Fixed #5024

Description

Input.ChoiceSet had a regression in its layout; reverted ChoiceSet Xib related update
Setting focus on Input.Text and Input.Number caused erratic scrolling behavior. Updated to have the focus to be set on InputView of input, and allowed the scrolling to be handled by the host app, and explicitly set the accessibility focus on the input handler to announce the accessibility l

Sample Card

https://github.com/microsoft/AdaptiveCards/blob/main/samples/v1.3/Elements/Input.ChoiceSet.ErrorMessage.json
https://github.com/microsoft/AdaptiveCards/blob/main/samples/v1.3/Elements/Input.Number.Label.json
https://github.com/microsoft/AdaptiveCards/blob/main/samples/v1.3/Elements/Input.Text.Label.json

How Verified

How you verified the fix, including one or all of the following:

  1. Run most of the cards in 1.0/1.1/1.2 cards and run all of 1.3/elements
Microsoft Reviewers: Open in CodeFlow

@shalinijoshi19
Copy link
Member

What was the "xib related update for choiceset that we needed to revert?"

Copy link
Member Author

@jwoo-msft jwoo-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was the "xib related update for choiceset that we needed to revert?"

I've added an additional xib for choice set for customization for v1.3.

@jwoo-msft jwoo-msft merged commit 910d9b8 into main Nov 4, 2020
@jwoo-msft jwoo-msft deleted the jwoo/ios-input-choiceset branch November 4, 2020 17:35
jwoo-msft added a commit that referenced this pull request Nov 4, 2020
* Reverts ChoiceSet Xib changes

* Updated accessibility focus

* TextField Input Label View update

* code clean-up before CR

Co-authored-by: Shalini Joshi-MSFT <shalinij@microsoft.com>
rankush pushed a commit to rankush/AdaptiveCards that referenced this pull request May 8, 2024
* Reverts ChoiceSet Xib changes

* Updated accessibility focus

* TextField Input Label View update

* code clean-up before CR

Co-authored-by: Shalini Joshi-MSFT <shalinij@microsoft.com>
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