react / react/react-native-website
Clarify use of UIManager for LayoutAnimation on Android
未关闭
适合新手
还没有人认领这个 Issue。
:ghost: Missing Docs
👋 Good first issue
- 主要语言
- MDX
- 星标
- 2.2k
- 派生
- 6.3k
- 平均合并
- 11 小时 37 分钟
- 30 天内合并 PR
- 19
描述
https://facebook.github.io/react-native/docs/layoutanimation.html
This page says the following:
Note that in order to get this to work on Android you need to set the following flags via UIManager:
UIManager.setLayoutAnimationEnabledExperimental && UIManager.setLayoutAnimationEnabledExperimental(true);
What is unclear is if this needs to be done once globally, or on a per component basis. This should be made clearer.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
打开链接的 LayoutAnimation 文档页面,找到关于通过 UIManager 启用 Android 支持的注释。明确 setLayoutAnimationEnabledExperimental(true) 是一次性全局配置,还是按组件配置,然后确认更新后的措辞直接回答了这个问题。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 68/100