Skip to content

Remove Modal animated prop#57385

Open
zoontek wants to merge 3 commits into
react:mainfrom
zoontek:remove-modal-animated-prop
Open

Remove Modal animated prop#57385
zoontek wants to merge 3 commits into
react:mainfrom
zoontek:remove-modal-animated-prop

Conversation

@zoontek

@zoontek zoontek commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Summary:

Removes the deprecated animated prop from Modal. It was a no-op everywhere. Use animationType instead.

See #57384

Changelog:

[GENERAL] [REMOVED] - Remove deprecated Modal animated prop

Test Plan:

  • yarn jest packages/react-native/Libraries/Modal
  • yarn flow and tsc pass with the prop removed from Modal.js / Modal.d.ts.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 30, 2026
@zoontek zoontek mentioned this pull request Jun 30, 2026
8 tasks
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jun 30, 2026
zoontek added 2 commits June 30, 2026 17:55
# Conflicts:
#	packages/react-native/Libraries/Modal/Modal.js
@zoontek zoontek force-pushed the remove-modal-animated-prop branch from c3447e4 to 528a571 Compare June 30, 2026 15:56
@github-actions

Copy link
Copy Markdown

Warning

JavaScript API change detected

This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API.

  • Please include a clear changelog message.
  • This change will be subject to additional review.

This change was flagged as: POTENTIALLY_BREAKING

@meta-codesync

meta-codesync Bot commented Jun 30, 2026

Copy link
Copy Markdown

@cortinico has imported this pull request. If you are a Meta employee, you can view this in D110205204.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Expo Partner: Expo Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant