Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select Action With Hyperlink #2107

Closed
jwoo-msft opened this issue Oct 18, 2018 · 2 comments · Fixed by #3304
Closed

Select Action With Hyperlink #2107

jwoo-msft opened this issue Oct 18, 2018 · 2 comments · Fixed by #3304
Assignees
Labels
Bug Platform-Android Platform-XAML Bugs or features related to Xaml Renderer

Comments

@jwoo-msft
Copy link
Member

jwoo-msft commented Oct 18, 2018

Platform

  • Android
  • UWP

Version of SDK

1.1

Issue

Precondition: TextBlock with the wrap attribute set true, with hyperlink, and with horizontal alignment set "Right" is contained in a Container which has a selectAction. The empty space on the left of the text is clicked or touched.
Expected: the selectAction in container is triggered.
Actual: hyperlink is opened.

{
	"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
	"type": "AdaptiveCard",
	"version": "1.0",
	"body": [
           {
            "type": "Container",
            "items": [
                {
                    "type": "TextBlock",
                    "text": "[Select](http://adaptivecards.io) Choice",
                    "horizontalAlignment":"Right",
                    "wrap":true
                }
            ],
            "selectAction": {
                "type": "Action.Submit",
                "title": "Submit action",
                "data": {
                    "info": "Data of choice 2"
                }
            }
        }
    ]
}

Capture

White space on the left is active hyperlink.

@andrewleader andrewleader added Bug Platform-XAML Bugs or features related to Xaml Renderer Platform-Android labels Oct 19, 2018
@shalinijoshi19
Copy link
Member

@nesalang please go ahead file 2 separate bugs for the 2 different platforms this bug still applies to.

@jwoo-msft
Copy link
Member Author

There is also a xml bug tracking this issue: microsoft/microsoft-ui-xaml#1125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Platform-Android Platform-XAML Bugs or features related to Xaml Renderer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants