AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

Allow text wrapping on Action buttons when layout is vertical

Open danmarshall opened this issue 9 years ago • 8 comments

Hello, we are receiving customer reports that they would like text to wrap on Action buttons in WebChat https://github.com/Microsoft/BotFramework-WebChat/issues/616 Seems like this is a reasonable request if button layout is in vertical mode.

danmarshall avatar Aug 04 '17 18:08 danmarshall

Seems reasonable to me too.

dclaux avatar Aug 04 '17 21:08 dclaux

The question is, should it be a host config option? Will some host want to prevent wrapping?

dclaux avatar Aug 04 '17 21:08 dclaux

It's possible... At the very least we should provide a tooltip, in case text is truncated with ellipses.

danmarshall avatar Aug 04 '17 22:08 danmarshall

Any update on this? My team would love to have this feature @danmarshall

jfb74 avatar Sep 11 '17 20:09 jfb74

I would like to at least control the action button layout. The WebChat defaults to horizontal whereas Skype defaults to vertical. I would like to be able to specify vertical in the WebChat for the action button layout for times where a choice of buttons (like the Bot Framework choice prompt) is needed, but without forcing users to deal with a horizontal carousel scroll.

szul avatar May 11 '18 15:05 szul

I would also like the text on buttons to wrap. In some cases I am asking the user which question they meant, and some questions are longer and get truncated. As @danmarshall said above, at least provide a tooltip if the text is truncated.

This issue was opened in 2017. Are there any plans to implement this?

kds-snyder avatar May 31 '19 18:05 kds-snyder

This is a good suggestion, but not something that's on our roadmap at this time. We may reconsider it in the future, or if you would like to make a contribution please see our contribution guidelines here.

RebeccaAnne avatar Sep 13 '21 20:09 RebeccaAnne

We have a new request for this same feature: https://github.com/microsoft/AdaptiveCards/issues/6198

dclaux avatar Sep 13 '21 23:09 dclaux