Skip to content

Conversation

@bohdanprog
Copy link
Contributor

@bohdanprog bohdanprog commented Jul 20, 2025

Summary

Fixes: #2705

In macOS, components do not properly clip their children without the changes in that PR. The PR introduces child clipping support for the element specifically on the macOS platform. These changes do not affect the iOS platform.

Test Plan

You can easily test that solution by running the Test2705

What's required for testing (prerequisites)?

Run the example, create a workspace with React Native SVG.

What are the steps to reproduce (after prerequisites)?

You can just run the test example without changes.

Compatibility

OS Implemented
MacOS

Checklist

  • I have tested this on a device and a simulator
  • I added documentation in README.md
  • I updated the typed files (typescript)
  • I added a test for the API in the __tests__ folder

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.

<Svg> component does not crop it's children on MacOS

1 participant