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

[JS] Don't expand ShowCard inline in Popup mode #5861

Merged
merged 4 commits into from
May 24, 2021
Merged

Conversation

dclaux
Copy link
Member

@dclaux dclaux commented May 21, 2021

Related Issue

Fixes #5450

Description

Action.ShowCard would always expand the action's card inline even if HostConfig was configured with "actions.showCard.mode": "popup". This change fixes that.

Sample Card

The default card in the designer will do, but testing this also requires a HostConfig configured as described above.

How Verified

Verified manually in adaptivecards-designer-app

Microsoft Reviewers: Open in CodeFlow

@ghost
Copy link

ghost commented May 21, 2021

Hi @dclaux. Thanks for helping make the AdaptiveCards JS renderer + tooling better. As additional verification, once the JS build succeeds, please go to the test site to test out your website/designer changes.

@dclaux dclaux changed the title Don't expand ShowCard inline in Popup mode [JS] Don't expand ShowCard inline in Popup mode May 21, 2021
@dclaux dclaux merged commit 2d2764c into main May 24, 2021
@dclaux dclaux deleted the js/showcard-popup branch May 24, 2021 16:56
michaelfarnsworth pushed a commit to michaelfarnsworth/AdaptiveCards that referenced this pull request Nov 10, 2022
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.

[Javascript]Action.ShowCard in Popup mode is not working
3 participants