Provide component excluding component area from the android native navigation system gesture.
With newest versions of android (10+), users can select navigation with gestures. For example on the latest pixel navigation gestures are set by default.
It comes up with few problems concerning gestures. The android navigation gesture take the ascendant over any other gesture.
And sometimes you would need to override this behavior, in that case you have to use systemGestureExclusionRects
from the android sdk.
That's exactly what this library does. The component provided wrap your component and add a system gesture exclusion area around your
component.
yarn add @wz-mobile/exclude-system-gesture-area
import { ExcludeSystemGestureAreaView } from '@wz-mobile/exclude-system-gesture-area';
// ...
<ExcludeSystemGestureAreaView>
<YourComponent />
</ExcludeSystemGestureAreaView>;
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library