Skip to content

Text color is sometimes randomly black on iOS #245

Open
@DavidBuzzTheStone

Description

@DavidBuzzTheStone

Hi!

I have a flashcard app, and I use the Markdown() Composable to display the text on the flashcards. On iOS, the text (or certain cases, only parts of it) is shown in black, instead of the color I set.

  1. the code is fully shared between iOS and Android, yet the issue is only present on iOS
  2. it seems completely random. If I close and reopen the app, the same text might have the correct color the second time, or vice versa. I couldn't identify any pattern.
  3. sometimes only parts of the text are black, for example only the bold part (third pic)
  4. when I logged LocalMarkdownColors.current.text, the logged color code was white for those texts that appeared black, too
  5. it happens for both dark and light mode

I am happy to provide any additional info!
PS: Thank you so much for your work! It is tremendously helpful!

IMG_0033
IMG_0035
Only bold text turns black:
IMG_0032

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions