AdaptiveCards icon indicating copy to clipboard operation
AdaptiveCards copied to clipboard

Text Blocks default to false for wrap

Open anbah34 opened this issue 6 years ago • 5 comments

Platform

All Platforms. The issue is more relevant to Mobile - iOS and Android.

Author or host

Are you an author (like sending something to Outlook), or a host that is rendering your own cards? If host, please specify the corresponding host (app) name.

If you're an author, who are you sending cards to?

1.2.10

What version are you using? Ex: NuGet 1.0.2, or latest main, etc...

Details

Explain your issue. If you just have a question, please post [on StackOverflow instead

Why is it that the default value for the word wrapping is kept as false. Most times the developers test the card only on desktop and due to the large real estate the text does not get truncated but on mobile it does. I don't understand why the default value is not set to true for word wrap

MicrosoftTeams-image-31 Screen Shot 2020-07-21 at 12 34 29 PM

anbah34 avatar Jul 24 '20 06:07 anbah34

@shalinijoshi19 Please see the an example of the issue that is caused with the current behavior wherin the text gets truncated unless the developer has specified word wrap to be true

cc- @VikrantSingh01

anbah34 avatar Jul 24 '20 06:07 anbah34

FYI @matthidinger, @jwoo-msft

anbah34 avatar Jul 24 '20 06:07 anbah34

Hi @anbah34. We have acknowledged this issue report. Please continue to follow this issue for updates/progress/questions.

ghost avatar Jul 30 '20 23:07 ghost

We'll be keeping the behavior here, but will be updating the designer instead.

shalinijoshi19 avatar Sep 21 '20 21:09 shalinijoshi19

Change for updating the designer is merged. Closing it per discussion.

jwoo-msft avatar Sep 25 '20 23:09 jwoo-msft