Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(iOS): displaying irregular borders on iOS Fabric (#45973)
Summary: This PR solves [issue](#45958) with displaying irregular borders on Fabric. The same issue appears on the old architecture, but I am having a problems there, so I am pushing this fix for now. The problem is solved by decoupling `backgroundColor` from `borderLayer` and setting `zPosition` on `borderLayer` to `1024.0f`, so that the border is always in front of the layer. The `zPosition` is compared within a layer, so it shouldn't impact outside components. I would love to hear your opinion if there is a case in which this could break. ## Changelog: [IOS] [FIXED] - changed border display Pull Request resolved: #45973 Test Plan: I've checked that on RNTester Images. ![border-issues-screen](https://github.com/user-attachments/assets/e12add82-8016-4c42-833d-f396307e9423) Reviewed By: joevilches Differential Revision: D61119409 Pulled By: cipolleschi fbshipit-source-id: a88912061c7a8d72eec4f4092adb076dd6ae511e
- Loading branch information