Skip to content

Remove StyleSheet.absoluteFillObject - #2829

Closed
zoontek wants to merge 1 commit into
necolas:0.22-devfrom
zoontek:remove-absolute-fill-object
Closed

zoontek wants to merge 1 commit into
necolas:0.22-devfrom
zoontek:remove-absolute-fill-object

Conversation

@zoontek

@zoontek zoontek commented Mar 5, 2026

Copy link
Copy Markdown
Collaborator

StyleSheet.absoluteFillObject was deprecated and has been removed in react-native 0.85.0-rc.0. This PR mirrors that removal to keep react-native-web in sync.

All internal usages have been migrated to StyleSheet.absoluteFill, which is functionally equivalent. Users who relied on absoluteFillObject to spread and customize styles should migrate to StyleSheet.absoluteFill.

@codesandbox-ci

codesandbox-ci Bot commented Mar 5, 2026 •

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 72c3e1d:

Sandbox Source
react-native-web-examples Configuration

zoontek added a commit to expo/expo that referenced this pull request Mar 10, 2026
# Why

Align with latest React Native core version

# How

- Update package versions
  - `react-native  0.84.1 -> 0.85-rc.0`
  - `@react-native/normalize-colors 0.84.1 ->  0.85-rc.0`
  - `@react-native/babel-preset 0.84.1 -> 0.85-rc.0`
  - `@react-native/dev-middleware 0.84.1 -> 0.85-rc.0`
- Patch `@react-native/dev-middleware` (+ run `patch-package` in CI)
- Patch `react-native-svg`
- Update the `react-native-macos` patch
- Remove `StyleSheet.absoluteFillObject` usage - it has been removed
from core ([+ react-native-web
PR](necolas/react-native-web#2829))
- Install `@react-native/jest-preset` when required (it's not included
by default with `react-native`)
- Remove some obsolete "unsupported by Hermes" test cases
- Fix `expo-modules-core` headers path
- Fix `global.expo` initialization
- Fix `expo-video` fullscreen e2e test
- Fix `expo-go` build with Hermes v1

# Test Plan

- Bare Expo
- Minimal tester

# Checklist

<!--
Please check the appropriate items below if they apply to your diff.
-->

- [ ] I added a `changelog.md` entry and rebuilt the package sources
according to [this short
guide](https://github.com/expo/expo/blob/main/CONTRIBUTING.md#-before-submitting)
- [ ] This diff will work correctly for `npx expo prebuild` & EAS Build
(eg: updated a module plugin).
- [ ] Conforms with the [Documentation Writing Style
Guide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)
@zoontek
zoontek changed the base branch from master to 0.22-dev October 19, 2026 09:55
@zoontek
zoontek force-pushed the remove-absolute-fill-object branch from 266d1d8 to 72c3e1d Compare October 19, 2026 09:57
@zoontek

zoontek commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

Closed by 736dcb8

@zoontek zoontek closed this Oct 19, 2026
@zoontek
zoontek deleted the remove-absolute-fill-object branch October 19, 2026 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant