Skip to content

Commit

Permalink
[Chip] Fix hand pointer icon not showing up on whole Chip when using …
Browse files Browse the repository at this point in the history
…mouse input

PiperOrigin-RevId: 513621349
  • Loading branch information
dsn5ft authored and paulfthomas committed Mar 3, 2023
1 parent e75654d commit 2702b1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/java/com/google/android/material/chip/Chip.java
Expand Up @@ -968,7 +968,7 @@ public PointerIcon onResolvePointerIcon(@NonNull MotionEvent event, int pointerI
if (getCloseIconTouchBounds().contains(event.getX(), event.getY()) && isEnabled()) {
return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND);
}
return null;
return super.onResolvePointerIcon(event, pointerIndex);
}

/** @hide */
Expand Down

0 comments on commit 2702b1a

Please sign in to comment.