mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Update overflowInset flag to use public static field
Summary: There's no need to use private feature flag for overflowInset feature. This makes future refactor on feature flags easier. Reviewed By: javache Differential Revision: D35866302 fbshipit-source-id: a3fde212ff40cd6d4c68832bb39b34de5a17a8d4
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c8550bb5fa
commit
16f30fc0ec
@@ -192,7 +192,7 @@ public class TouchTargetHelper {
|
||||
// If the touch point is outside of the overflowinset for the view, we can safely ignore
|
||||
// it.
|
||||
if (ViewUtil.getUIManagerType(view.getId()) == FABRIC
|
||||
&& ReactFeatureFlags.doesUseOverflowInset()
|
||||
&& ReactFeatureFlags.useOverflowInset
|
||||
&& !isTouchPointInViewWithOverflowInset(eventCoords[0], eventCoords[1], view)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user