-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Fabric] Fixing Clipped Property for Modal Component #15176
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
Conversation
| // Component appears clipped, but check if it's modal content | ||
| // Modal content may appear clipped due to lack of parent relationships | ||
| // but should still be considered visible if it's in its own window | ||
| try { |
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.
this property (clip state) will be queried very frequently like UI nav, refresh, accessibility calls. we shouldn't use try catch here it will be perf hit.
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.
Will remove it then.
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.
Lgtm!
* Fixing Clipped Property for Modal Component * Yarn Change * Removed try catch.
* [Fabric] Fixing Clipped Property for Modal Component (#15176) * Fixing Clipped Property for Modal Component * Yarn Change * Removed try catch. * Review Changes
Description
Fixing UIA Clipping property for Modal Component.
Type of Change
Erase all that don't apply.
Why
Will fix the UIA clipping state of Modal Component.
Resolves [microsoft/react-native-gallery/issues/650]
What
Clipped
Screenshots
Testing
If you added tests that prove your changes are effective or that your feature works, add a few sentences here detailing the added test scenarios.
Optional: Describe the tests that you ran locally to verify your changes.
Changelog
Should this change be included in the release notes: yes
UIA Clipping property for Modal Component is fixed.
Microsoft Reviewers: Open in CodeFlow