Outside click detector
Use EuiOutsideClickDetector to trigger a handler when the user clicks outside of the child element.
EuiSelect normalizes browser event inconsistencies with <select /> elements and as a result may not trigger EuiOutsideClickDetector when targeted with mouse events.
Loading...
Props
EuiOutsideClickDetector
Prop  | Description and type  | Default value  | 
|---|---|---|
Prop children#  | Description and type ReactNode to render as this component's content ReactElement<any, string | JSXElementConstructor<any>> | Default value Required  | 
Prop onOutsideClick#  | Description and type Type:  (event: Event) => void | Default value Required  | 
Prop isDisabled#  | Description and type Type:  boolean | Default value  | 
Prop onMouseDown#  | Description and type Type:  (event: MouseEvent<Element, MouseEvent>) => void | Default value  | 
Prop onMouseUp#  | Description and type Type:  (event: MouseEvent<Element, MouseEvent>) => void | Default value  | 
Prop onTouchStart#  | Description and type Type:  (event: MouseEvent<Element, MouseEvent>) => void | Default value  | 
Prop onTouchEnd#  | Description and type Type:  (event: MouseEvent<Element, MouseEvent>) => void | Default value  |