| 68 | // Use pointer events if available. Otherwise, fall back to mouse and touch events. |
| 69 | if (typeof PointerEvent !== 'undefined') { |
| 70 | let onClick = e => { |
| 71 | if (state.isPointerDown && isValidEvent(e, ref)) { |
| 72 | triggerInteractOutside(e); |
| 73 | } |
| 74 | state.isPointerDown = false; |
| 75 | }; |
| 76 | |
| 77 | // changing these to capture phase fixed combobox |
| 78 | // Use click instead of pointerup to avoid Android Chrome issue |
nothing calls this directly
no test coverage detected