Fix sensitivity while scrolling (#3190)
This commit is contained in:
parent
9f2f7f221c
commit
5c771050bc
2 changed files with 9 additions and 0 deletions
|
@ -119,6 +119,10 @@ export function Trigger({children, label}: TriggerProps) {
|
|||
},
|
||||
props: {
|
||||
...props,
|
||||
// disable on web, use `onPress`
|
||||
onPointerDown: () => false,
|
||||
onPress: () =>
|
||||
control.isOpen ? control.close() : control.open(),
|
||||
onFocus: onFocus,
|
||||
onBlur: onBlur,
|
||||
onMouseEnter,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue