HtmlLabelPlugin icon indicating copy to clipboard operation
HtmlLabelPlugin copied to clipboard

iPadOS app running on Macbook M1

Open mikaelsundin opened this issue 4 years ago • 4 comments

I have a issue that both text and background color get white on a HtmlLabelPlugin when running an iPadOS app on M1 Mac. Links seems to be correctly

On iPad the text is black and the background is white, as expected.

The control version is 5.0.0

I have tested with and without style on body tag.

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
</head>
<body style="color:black; background-color:white">
   <H2>Some text</H2>
</body>
</html>

Testing this have not been easy, i have to released the app via App Store Connect regular review process to deploy to M1 Mac. I have not found any examples how to debug iPadOS app on M1 Mac with Visual studio right now.

mikaelsundin avatar Dec 18 '20 07:12 mikaelsundin

Tested to to add this to app.xaml

<Style ApplyToDerivedTypes="True" TargetType="htmlLabel:HtmlLabel">
    <Setter Property="TextColor" Value="Black" />
</Style>

The content in html label is still white on white except links on Macbook Air M1. It seems that the height for the text is there, the blue links is a half page down.

mikaelsundin avatar Mar 09 '21 19:03 mikaelsundin

Hi, unfortunately I have no way to test or debug this at the moment

matteobortolazzo avatar Mar 13 '21 18:03 matteobortolazzo

I've got a M1 Mac so I might be able to help here 😁

bricefriha avatar Aug 03 '21 16:08 bricefriha

Does it make a difference if your iOS has dark mode on or off?

somoreingold avatar Aug 03 '21 17:08 somoreingold