Skip to content

[Rendering] No tooltip for RichTextBlock.TextRun.SelectActions.json on UWP AdaptivecardsVisilizer #6543

@licanhua

Description

@licanhua

Target Platforms

UWP

SDK Version

0

Application Name

UWP AdaptivecardsVisilizer

Problem Description

no tooltip when pointer over the text
load v1.2\Tests\RichTextBlock.TextRun.SelectActions.json

Screenshots

No response

Card JSON

{
	"type": "AdaptiveCard",
	"version": "1.2",
	"body": [
		{
			"type": "TextBlock",
			"text": "Here are some images:",
			"isVisible": false,
			"id": "textToToggle"
		},
		{
			"type": "ColumnSet",
			"columns": [
				{
					"type": "Column",
					"items": [
						{
							"style": "person",
							"type": "Image",
							"url": "https://picsum.photos/100/100?image=112",
							"isVisible": false,
							"id": "imageToToggle",
							"size": "medium"
						}
					]
				},
				{
					"type": "Column",
					"items": [
						{
							"type": "Image",
							"url": "https://picsum.photos/100/100?image=123",
							"isVisible": false,
							"id": "imageToToggle2",
							"size": "medium"
						}
					]
				}
			]
		},
		{
			"type": "RichTextBlock",
			"inlines": [
				{
					"type": "TextRun",
					"text": "Interacting with the text in the good color will open a web page. ",
					"color": "good",
					"selectAction": {
						"type": "Action.OpenUrl",
						"url": "https://adaptivecards.io",
						"tooltip": "Default"
					}
				},
				{
					"type": "TextRun",
					"text": " -Should not trigger any actions- ",
					"weight": "bolder"
				},
				{
					"type": "TextRun",
					"text": " Interacting with the text in the warning color will submit. ",
					"color": "warning",
					"selectAction": {
						"type": "Action.Submit",
						"tooltip": "Action.Submit",
						"data": {
							"x": "hello world!"
						}
					}
				},
				{
					"type": "TextRun",
					"text": " -Should not trigger any actions- ",
					"weight": "bolder"
				},
				{
					"type": "TextRun",
					"text": "Interacting with the text in the accent color will toggle visibility ",
					"color": "accent",
					"selectAction": {
						"type": "Action.ToggleVisibility",
						"tooltip": "Toggle!",
						"targetElements": [ "textToToggle", "imageToToggle", "imageToToggle2" ]
					}
				}
			]
		}
	]
}

Sample Code Language

No response

Sample Code

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions