()
| 53 | const close = () => setState("open", false) |
| 54 | |
| 55 | const inside = () => { |
| 56 | const active = document.activeElement |
| 57 | if (!ref || !active) return false |
| 58 | return ref.contains(active) |
| 59 | } |
| 60 | |
| 61 | const drop = (expand = state.expand) => { |
| 62 | if (expand) return |