RN 0.85.0 StyleSheet.absoluteFillObject is removed

未关闭 适合新手
#3,965 3 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@ChrisJamesC 已经在做这个了。

开始于 2026年8月19日。

  • #4039 来自 @ChrisJamesC —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
react-native, typescript
领域
mobile

调研方向

在仓库中搜索 StyleSheet.absoluteFillObject 的使用位置,并确定影响动画布局的代码。将已移除的 React Native 0.85 API 替换为 absoluteFill,然后验证受影响的布局在 React Native 0.85 下能够正常工作,且不再存在对已移除属性的引用。

由索引模型根据 Issue 内容生成。

描述

bug

Description

As of RN 0.85 StyleSheet.absoluteFillObject is removed. Please use absoluteFill instead, my animated layour is a bit broken.
https://github.com/facebook/react-native/blob/main/CHANGELOG.md#v0850-rc0

Related to
  • Components
  • Demo
  • Docs
  • Typings
Steps to reproduce
Expected behavior
Actual behavior

More Info

Code snippet


Screenshots/Video
Environment

latest version of all libs

  • React Native version:
  • React Native UI Lib version:
Affected platforms
  • Android
  • iOS
  • Web
主要语言
TypeScript
星标
7.2k
派生
749
平均合并
2 天 4 小时
30 天内合并 PR
4

环境准备

从这里开始

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

wix/react-native-ui-lib 的其他 Issue

查看 wix/react-native-ui-lib 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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