-
Notifications
You must be signed in to change notification settings - Fork 553
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
Prevent multiple actions from executing #8031
base: main
Are you sure you want to change the base?
Conversation
With the current code in `adaptivecards-react`, both submitAction and executeAction will be executed when a submit action is triggered. This is unexpected behaviour
Hi @shendriks-workgrid. 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. |
Hi @shendriks-workgrid. This pull request has had no recent activity for the past 5 days . Please take the necessary actions (review, address feedback or commit if reviewed already) to move this along. |
Staleness reset by shendriks-workgrid |
Hi @shendriks-workgrid. This pull request has had no recent activity for the past 5 days . Please take the necessary actions (review, address feedback or commit if reviewed already) to move this along. |
Staleness reset by shendriks-workgrid |
Hi @shendriks-workgrid. This pull request has had no recent activity for the past 5 days . Please take the necessary actions (review, address feedback or commit if reviewed already) to move this along. |
Staleness reset by shendriks-workgrid |
Could we please have someone take a look at this? |
Hi @shendriks-workgrid. This pull request has had no recent activity for the past 5 days . Please take the necessary actions (review, address feedback or commit if reviewed already) to move this along. |
Staleness reset by shendriks-workgrid |
Hi @shendriks-workgrid. This pull request has had no recent activity for the past 5 days . Please take the necessary actions (review, address feedback or commit if reviewed already) to move this along. |
Description
With the current code in
adaptivecards-react
, bothsubmitAction
andexecuteAction
will be executed if both callbacks are passed and a submit action is triggered. This is unexpected behaviour.This seems to be a bug that slipped in as indicated by the old comment and running
executeAction
in the switch/case same as the rest of the handlers solves the issue.Sample App
Expected behaviour:
Actual behaviour:
Microsoft Reviewers: Open in CodeFlow