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

[Issue]: FollowHyperlinks Property on the Rock:Html Control not Functioning Properly #46

Open
2 tasks done
mikedotmundy opened this issue Nov 6, 2024 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working unverified This issue has not been verified yet

Comments

@mikedotmundy
Copy link

Describe the Issue in Detail

When using the <Rock:Html> Control, the FollowHyperlinks property does not function properly. If I include some text that has a link in it, and I do not enable FollowHyperlinks, the link in the text is still styled with an underline and is tappable.

Consider this code in a Calendar Event Item Description:

<li>Fill your box with gifts. Select one high-quality “wow” item to put in your box such as a doll, stuffed animal, or soccer ball. Then add other fun toys, hygiene items, and school supplies. <a href="https://bedfordalliance.church/GetFile.ashx?id=93574" target="_blank">See suggested items</a>.</li>

Here is how it is being referenced in XAML (notice there is no use of FollowHyperlinks):

<!-- Event Description -->
<Rock:Html>
     {{ event.Description | XamlWrap }}
</Rock:Html>

Here is how it displays on the Mobile App:
Screenshot 2024-11-06 at 15 25 42

The text See suggested items is underlined and is tappable, even though FollowHyperlinks is not used.

Can reproduce in

  • Orange App
  • Blue App

Steps to Reproduce

  • Enter some code with an <a> tag inside a <Rock:Html> Control, but do not use the FollowHyperlinks Property.
  • See it displays in the App and is underlined and tappable.

Expected Behavior

Text in a <Rock:Html> Control that is a Hyperlink should only function as a hyperlink when using the FollowHyperlinks Property.

Actual Behavior

Text in a <Rock:Html> Control that is a Hyperlink functions even without using the FollowHyperlinks Property.

Screenshots or Videos

See above

Reproduction XAML

See above

Mobile Shell Version

v6.0.0.0

Last Known Working Version

Unknown

iOS Device Type(s) and iOS Version(s)

iPhone 15 Pro Max, iOS 18.0.1

Android Device Type(s) and Android Version(s)

Not tested

@mikedotmundy mikedotmundy added bug Something isn't working unverified This issue has not been verified yet labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified This issue has not been verified yet
Projects
None yet
Development

No branches or pull requests

1 participant