-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[iOS] Fix triangle views on iOS #23402
Conversation
PR looks fine, but I'm hesitant to merge this until the fix has been verified (from your test plan, it looks like it has not been tested). |
@zhongwuzw as @hramos says, can you find a way (or a person) to test this? |
I test it in iOS simulator and real device. you can checkout the code here: https://github.com/horacioh/react-native-pull-test-23402 the way I test it was:
please let me know if this suits the needed test! @zhongwuzw @hramos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@zhongwuzw merged commit 7a6fe0c into |
Summary: Fixes #22824 #21945 , the bug comes from #21208 , it was to fix #11897. Now Let's constrain edge adjust only when view has corners. [iOS] [Fixed] - Fix triangle views on iOS Pull Request resolved: #23402 Differential Revision: D14059192 Pulled By: hramos fbshipit-source-id: be613bf056d3cc484f281f7ea3d08f251971700a
Summary
Fixes #22824 #21945 , the bug comes from #21208 , it was to fix #11897. Now Let's constrain edge adjust only when view has corners.
Changelog
[iOS] [Fixed] - Fix triangle views on iOS
Test Plan
Fixes issues like #11897 and #22824 #21945 , but attention, I'm not have device like comment in #11897, so I didn't test issue in #11897, but maybe I didn't break it, because only view which has corner may have issue like #11897.