fix select triggers on ios safari (#8343)

This commit is contained in:
Samuel Newman
2025-05-07 17:06:49 +03:00
committed by GitHub
parent e01b24702e
commit 0edd3bd3b4
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -73,6 +73,7 @@ export function Trigger({children, label}: TriggerProps) {
},
props: {
...props,
onPress: props.onClick,
onFocus: onFocus,
onBlur: onBlur,
onMouseEnter,
+3 -1
View File
@@ -53,7 +53,9 @@ export type RadixPassThroughTriggerProps = {
['aria-controls']?: string
['aria-haspopup']?: boolean
['aria-expanded']?: AccessibilityProps['aria-expanded']
onPress: () => void
onClick: () => void
onPointerDown: () => void
onKeyDown: () => void
}
export type TriggerProps = {