wordpress-mobile / wordpress-mobile/WordPress-iOS

Color of text highlight is not rendered correctly.

Open
#23,273 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Type] Bug Reader
Dominant language
Swift
Stars
3.9k
Forks
1.2k
Avg merge
23h 51m
Merged PRs (30d)
58

Description

Expected behavior

When reading a post with background highlight, colors should be rendered correctly.

Actual behavior

When reading a post with background highlight, colors are not rendered correctly. This was noticed with green being rendered as orange and it seems to affect android, ios and the web reader. Most probably a shared CSS or API issue. Note that the colors are correct when opened on web browser.


Web browser post (the expected colors)

https://test0120031.wordpress.com/2024/05/29/testing-highlighting/

image

Web reader

https://wordpress.com/read/blogs/171903490/posts/220

image

JP iOS

image
Steps to reproduce the behavior

Use the provided link to open the post in the various platforms and check the color are not correct.

Tested on [iPad 7th gen], iOS [iPadOS 17.2], Jetpack iOS / WordPress iOS [24.9]

Twin Android issue

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided post and screenshots, then compare background-highlight rendering in the iOS reader with the web browser, web reader, and linked Android issue. Trace where highlight colors are received and rendered in WordPress-iOS; done means the colors match the expected browser rendering on the affected iOS reader views.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.