Skip to content

Commit

Permalink
Fix beginning drag atop focal point picker drag handle
Browse files Browse the repository at this point in the history
Previously, if you began your drag directly atop the drag handle, the
position would not be updated as you dragged. Instead, the parent would
manage the pan gesture and attempt to scroll the bottom sheet content.
  • Loading branch information
shadow351 committed Oct 7, 2020
1 parent 6ea9a70 commit 658acf0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/src/focal-point-picker/index.native.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export default function FocalPointPicker( props ) {
</PanGestureHandler>
</TapGestureHandler>
<Animated.View
pointerEvents="none"
style={ [
styles.focalPointWrapper,
{
Expand Down

0 comments on commit 658acf0

Please sign in to comment.