Skip to content

Commit 2702b1a

Browse files
dsn5ftpaulfthomas
authored andcommitted
[Chip] Fix hand pointer icon not showing up on whole Chip when using mouse input
PiperOrigin-RevId: 513621349
1 parent e75654d commit 2702b1a

File tree

1 file changed

+1
-1
lines changed
  • lib/java/com/google/android/material/chip

1 file changed

+1
-1
lines changed

lib/java/com/google/android/material/chip/Chip.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ public PointerIcon onResolvePointerIcon(@NonNull MotionEvent event, int pointerI
968968
if (getCloseIconTouchBounds().contains(event.getX(), event.getY()) && isEnabled()) {
969969
return PointerIcon.getSystemIcon(getContext(), PointerIcon.TYPE_HAND);
970970
}
971-
return null;
971+
return super.onResolvePointerIcon(event, pointerIndex);
972972
}
973973

974974
/** @hide */

0 commit comments

Comments
 (0)