Search code examples
botframeworkadaptive-cards

How to Add a scroll bar to an adaptive card


I m showing a list of users in a card, can I add a scrollbar to the card so that it fits the screen size? I am currently using Adaptive card 1.0 and sending this card to MS Teams.


Solution

  • AdaptiveCards do not allow scrolling or paging.

    If you want to implement paging you could add a "next page" button to your card, when pressed you just update the card with the new list data.

    MS Teams allows you to update cards/message you already sent so you could send the first page and when a user clicks on the action button you sent the second page etc.