diff --git a/src/utils/with-stop-propagation.tsx b/src/utils/with-stop-propagation.tsx index 6155e3a0c6..969bd26af1 100644 --- a/src/utils/with-stop-propagation.tsx +++ b/src/utils/with-stop-propagation.tsx @@ -1,9 +1,10 @@ import React from 'react' import type { ReactElement } from 'react' -export type PropagationEvent = 'click' +export type PropagationEvent = 'click' | 'touchstart' const eventToPropRecord: Record = { 'click': 'onClick', + 'touchstart': 'onTouchStart' } export function withStopPropagation(