fix select triggers on ios safari (#8343)
This commit is contained in:
@@ -73,6 +73,7 @@ export function Trigger({children, label}: TriggerProps) {
|
||||
},
|
||||
props: {
|
||||
...props,
|
||||
onPress: props.onClick,
|
||||
onFocus: onFocus,
|
||||
onBlur: onBlur,
|
||||
onMouseEnter,
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user