How to solve simultaneous icon click in adaptive card

lakshmi 751 Reputation points
2024-07-23T07:17:26.68+00:00

We have an adaptive card with different icon actions, and we want to prevent simultaneous icon clicks.

We are using UpdateActivityAsync to update the card by disabling icons, but the user can still click another icon before the card updates.

We tried managing this with conversation dialog state, but both dialogs get initiated simultaneously. We also attempted to save the user dialog process in the user state, but both dialogs still initiate at the same time, and we are unable to separate the second dialog.

User's image

Is there any other option to handle simultaneous icon click.

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,346 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.