forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fabric:
[RCTViewComponentView betterHitTest:]
proper support for `c…
…lipToBounds` and `zIndex` Summary: @public Besides `pointerEvents` there are other two props that affect hit-testing mechanism: `zIndex` and `clipToBounds`. The default UIKit implementation does not take this into an account (it always assume that `clipToBounds` is true and `zIndex` is same). `betterHitTest` does it right. Reviewed By: sahrens Differential Revision: D9688876 fbshipit-source-id: dadfd5e5541ddd1a744fbd8c6b10949c0e266069
- Loading branch information
1 parent
7f6f138
commit 366b211
Showing
1 changed file
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters