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

Adaptive card 'Action.ToggleVisibility' issue in iOS #8114

Open
Anirban-Celebal opened this issue Feb 17, 2023 · 17 comments
Open

Adaptive card 'Action.ToggleVisibility' issue in iOS #8114

Anirban-Celebal opened this issue Feb 17, 2023 · 17 comments
Assignees
Labels
bug needs-attention teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label

Comments

@Anirban-Celebal
Copy link

I have a task module that shows an adaptive card with buttons to expand and collapse sections with 'Action.ToggleVisibility'. However, this is behaving differently for Android and iOS in MS Teams.

The expected behavior is when I press the 'down arrow', the bottom section should expand and on pressing the 'up arrow ' the same should collapse. In Android, this is working correctly, but in iOS when I click over the button, the whole clicked section disappears.

Refer to the following images for more information -
(Note: The point number is in alignment with the numbers on the images)

  1. Regular state of the item on the adaptive card with 'down arrow'. This is working in both Android and iOS.
  2. In Android as shown the bottom section expands by clicking 'down arrow'. This is the expected flow.
  3. In iOS, when we click on 'down arrow', the upper section disappears.

Mobile Teams version for iOS is 5.2.0 and Android is 1416/1.0.0. Also, botbuilder version 4.18.0 and Adaptive card target version 1.4.

Android

iOS

@ghost
Copy link

ghost commented Feb 17, 2023

Hi anirban-celebal! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

@ghost ghost added the needs-triage 🔍 label Feb 17, 2023
@ghost ghost added the teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label label Feb 17, 2023
@ChetanSharma-msft
Copy link
Collaborator

Hello @Anirban-Celebal - Thanks for raising the issue.
We will look into it and let you know the updates.

@Meghana-MSFT
Copy link
Collaborator

@Anirban-Celebal - We tested this at our end in iOS(version-16.3). We have opened an adaptive card which has 'Action.ToggleVisibility' inside task module. It is working fine, sharing video of the same.

original-ab359cdc-a649-4da8-8213-3836233cd1d0.mp4

Can you please let us know if you are doing it differently?

@Meghana-MSFT Meghana-MSFT added the needs-author-feedback Needs more info from the customer. label Feb 20, 2023
@ghost
Copy link

ghost commented Feb 23, 2023

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 3 days of this comment.

@Anirban-Celebal
Copy link
Author

@Meghana-MSFT In my use case, the toggle visibility action is over the entire column set instead of just the dropdown icon on the right side.

Please refer to the adaptive card payload below for further clarity -
AdaptiveCardPayload.txt

@ghost ghost added needs-attention and removed needs-author-feedback Needs more info from the customer. labels Feb 26, 2023
@Meghana-MSFT
Copy link
Collaborator

Thanks for sharing the JSON, we will check with the above JSON and get back to you.

@Meghana-MSFT
Copy link
Collaborator

Meghana-MSFT commented Feb 27, 2023

@Anirban-Celebal - We tried with the JSON you have shared, and it is working fine in iOS, attaching a video of the same.
OS - 16.3
MSTeams - 5.2.1
botbuilder - 4.17.1

VID-20230227-WA0016.mp4

@Anirban-Celebal
Copy link
Author

@Meghana-MSFT I am facing the issue inside Task modules only.

@Meghana-MSFT
Copy link
Collaborator

@Anirban-Celebal - Apologies, we are not able to reproduce this issue at our end. Could you please share a video recording of this issue.

VID-20230228-WA0003.mp4

@Meghana-MSFT Meghana-MSFT added needs-author-feedback Needs more info from the customer. and removed needs-attention labels Mar 3, 2023
@Anirban-Celebal
Copy link
Author

@Meghana-MSFT Here is the screen recording of the issue I am facing -
https://user-images.githubusercontent.com/92198341/222708452-9792122a-ad28-4455-b70f-88b6cb8da640.mp4

I am also providing the adaptive card payload I used in the video for your reference -
card.txt

@ghost ghost added needs-attention and removed needs-author-feedback Needs more info from the customer. labels Mar 3, 2023
@ghost ghost assigned Wajeed-msft Mar 7, 2023
@Meghana-MSFT
Copy link
Collaborator

Meghana-MSFT commented Mar 9, 2023

Thank you for sharing the details, we have raised a bug for the same. We will keep you posted on the updates. Thanks!

@Anirban-Celebal
Copy link
Author

@Meghana-MSFT Any timeline by when I can expect this to be fixed ?

@Meghana-MSFT
Copy link
Collaborator

@Anirban-Celebal - Unfortunately we do not have any ETA/update to share. We will keep you posted if we have any updates. Thanks!

@Meghana-MSFT
Copy link
Collaborator

@Anirban-Celebal - Could you please try on the latest prod version 5.9.0 and see if you are still able to reproduce this issue.
Engineering team is not able to repro this issue. Could you please help by sharing test credentials @microsoftteamsdev@microsoft.com if you are still able to repro the issue.

@Meghana-MSFT Meghana-MSFT added the needs-author-feedback Needs more info from the customer. label May 25, 2023
@ghost
Copy link

ghost commented May 28, 2023

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 3 days of this comment.

@Anirban-Celebal
Copy link
Author

@Meghana-MSFT I tested the task module in the latest MS teams version in iOS (5.9.1) and I am still facing the same issue.

Please find the video of the earlier mentioned issue with the latest version below -
https://github.com/MicrosoftDocs/msteams-docs/assets/92198341/83ccdfa7-0778-45c5-98c3-d2f894d61fbf

For your team's assistance, I have uploaded the code for this chabot in this repository. To run this chatbot you can update the .env config and then test the issue in MS Teams iOS app.

iOS Version Information
Teams iOS Version (1)

@ghost ghost added needs-attention and removed needs-author-feedback Needs more info from the customer. labels May 29, 2023
@Meghana-MSFT
Copy link
Collaborator

@Anirban-Celebal - Thank you for the code, we are able to repro this issue with the code you provided. We will inform engineering team about this. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs-attention teams-developer-support Question related to extensibility (Bot, ME, Tab) would be marked under this label
Projects
None yet
Development

No branches or pull requests

4 participants