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

iPadOS app running on Macbook M1 #126

Open
mikaelsundin opened this issue Dec 18, 2020 · 4 comments
Open

iPadOS app running on Macbook M1 #126

mikaelsundin opened this issue Dec 18, 2020 · 4 comments
Labels

Comments

@mikaelsundin
Copy link

mikaelsundin commented Dec 18, 2020

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
Copy link
Author

mikaelsundin commented Mar 9, 2021

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.

@matteobortolazzo
Copy link
Owner

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

@bricefriha
Copy link

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

@somoreingold
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants