Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Fork upstream BaseParagraphProps(h/cpp) to add prop selectionColor into <Text>

未关闭
#15,552 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 2 天内回复

@iamAbhi-916 已经在做这个了。

开始于 2026年1月19日。

评估

这个 Issue 还没有评估数据。

描述

enhancement Parity: Fabric vs. Paper

selectionColor is part of the parity feature, that needs to be implemented in fabric.
For RN upstream this is an Android prop and hence not part of the baseprops for their respective design.

To implement this in Fabric we need to fork upstream BaseParagraphProps(h/cpp) and include the prop.(As we cant
make this change upstream as RN docs clearly mention it to be Android prop ref: RN Doc )

Note: This used to work for paper because selectionColor prop in JS is delivered to C++ ViewManager code under the same name without transformation. There is no “middle layer”—the string mapping is direct.

主要语言
C++
星标
17.4k
派生
1.2k
平均合并
2 天 17 小时
30 天内合并 PR
13

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/react-native-windows 的其他 Issue

查看 microsoft/react-native-windows 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。