部分手机使用Text未设置color不显示问题

Open
#435 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
mobile-dev

Research direction

Start by running the listed JavaScript navigation flow on an affected MIUI device and compare Text rendering with and without an explicit color. Investigate the Text component's platform-specific default color handling; done means text without a color is visible and uses the expected default color.

Written by the indexing model from the issue text.

Description

bug Needs: Triage 🔍

描述

请使用最新的 Hummer 版本(master/main 分支)进行测试,以确保您的问题尚未修复。 -->
部分手机(目前出现问题的主要为MIUI)在使用Text文本时,未设置字体颜色,会出现文字不显示出来,但设置color后则能正常显示

Hummer version:

0.4.5

复现步骤

目前手上miui测试设备一直未能重现,但用户设备上能稳定复现

  1. 下载js到本地打开列表页
    2.列表页跳转到详情页。详情页未设置color的文本不显示

预期结果

未设置时使用默认color

样例代码、屏幕截图或者仓库链接

image image
Dominant language
Objective-C
Stars
1.4k
Forks
186
PR merge metrics
No merged PRs in 30d

Getting set up

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.

More from didi/Hummer

All issues in didi/Hummer

Similar issues

More Objective-C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.