Skip to content

Commit

Permalink
deprecate mouse fallback event listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
smastrom committed Dec 10, 2023
1 parent b49c36f commit aa7a67f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,7 @@ export const Email = forwardRef<HTMLInputElement, EmailProps>(
role="option"
ref={(li) => (liRefs.current[i] = li)}
onPointerMove={() => setActiveSuggestion(-1, i)}
onMouseMove={() => setActiveSuggestion(-1, i)}
onPointerLeave={() => setActiveSuggestion(-1, -1)}
onMouseLeave={() => setActiveSuggestion(-1, -1)}
onClick={(e) => handleSelect(e, i, { isKeyboard: false, isInput: false })}
onKeyDown={handleListKeyDown}
key={domain}
Expand Down

0 comments on commit aa7a67f

Please sign in to comment.