fix select triggers on ios safari (#8343)
This commit is contained in:
@@ -73,6 +73,7 @@ export function Trigger({children, label}: TriggerProps) {
|
|||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
...props,
|
...props,
|
||||||
|
onPress: props.onClick,
|
||||||
onFocus: onFocus,
|
onFocus: onFocus,
|
||||||
onBlur: onBlur,
|
onBlur: onBlur,
|
||||||
onMouseEnter,
|
onMouseEnter,
|
||||||
|
|||||||
@@ -53,7 +53,9 @@ export type RadixPassThroughTriggerProps = {
|
|||||||
['aria-controls']?: string
|
['aria-controls']?: string
|
||||||
['aria-haspopup']?: boolean
|
['aria-haspopup']?: boolean
|
||||||
['aria-expanded']?: AccessibilityProps['aria-expanded']
|
['aria-expanded']?: AccessibilityProps['aria-expanded']
|
||||||
onPress: () => void
|
onClick: () => void
|
||||||
|
onPointerDown: () => void
|
||||||
|
onKeyDown: () => void
|
||||||
}
|
}
|
||||||
|
|
||||||
export type TriggerProps = {
|
export type TriggerProps = {
|
||||||
|
|||||||
Reference in New Issue
Block a user