MicrosoftDocs / AdaptiveCards

Docs for Adaptive Cards
https://docs.microsoft.com/en-us/adaptive-cards/
Creative Commons Attribution 4.0 International
72 stars 139 forks source link

Adaptive card "isVisible": false property for MS teams Mobile. #254

Open Deepti886 opened 4 years ago

Deepti886 commented 4 years ago

I am trying to use the "isVisible": false property of adaptive card designer to make buttons initially invisible in MS Teams. But this seems to work properly in Teams windows desktop but not in Teams Mobile application.

PFA for the reference.

I am making both one Textbox and some buttons both as initially invisible. but when i render the card in Teams mobile app , the textbox is not visible but buttons are visible even after setting the "isVisible": false for buttons. Whereas it is coming correctly in Teams desktop(both textbox and buttons are not visible after setting the property).I am using the same json for both mobile and desktop.

Expected behavior In Mobile also, both textbox and buttons should not be visible when i set the property as "isVisible": false. It should come how it is coming for Teams Desktop app. As it is default behaviour of isVisible Property of adaptive card when it is set 'false' it should not display and when set 'true' it should display, then please let me know why it is displaying differently in Teams mobile app and Teams windows desktop. Screenshots This is the screenshot of Adaptive card designer. Teams1

This is the screenshot from Teams Windows desktop app. Teams_Desktop (2)

This is screenshot from Teams Mobile app. Teams_Mobile

Please help me out with the solution., How i can i get the buttons hidden in Teams mobile app using adaptive card designer or suggest any alternative.

matthidinger commented 4 years ago

The isVisible feature was introduced in v1.2 which has just started rolling out to Teams mobile this week. If you're able to report back with your Teams client version that would allow me to compare it with the version which includes this support. Hopefully your issue will be resolved once the rollout is complete

Deepti886 commented 4 years ago

@matthidinger my Teams version of mobile is, Version:1416/1.0.0.2020012501 and calling version: 2019.45.01.1

Deepti886 commented 4 years ago

@matthidinger Is there any update on these.