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

Fixed click handling within all adaptive card inputs. #1690

Merged
merged 1 commit into from
Jul 17, 2019

Conversation

tonyanziano
Copy link
Contributor

Fixes #1680 & #1683

===

To ensure that all Adaptive Card inputs (in Web Chat) are handled properly, I took the sample card JSON found on the "Inputs" page in the Adaptive Cards docs, and added logic to handle all the inputs rendered from that JSON.

The following elements should now be handled as well as all other input tag elements (date pickers, number pickers, etc):

  • compact choice sets (dropdown lists)
  • multiline text inputs (textarea)
  • labels for choice sets and toggles (radio buttons / checkboxes)

cards-fix

NOTE: At points in the gif it looks like I'm interacting with invisible UI elements (when using the date picker / dropdown). That's because my screen recorder was unable to record floating UI elements for whatever reason.

cwhitten
cwhitten previously approved these changes Jul 17, 2019
@tonyanziano tonyanziano merged commit a190d54 into master Jul 17, 2019
@tonyanziano tonyanziano deleted the toanzian/cards-fix branch July 17, 2019 18:13
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

Successfully merging this pull request may close these issues.

Since 4.5, Adaptive Card Inputs won't focus
2 participants