()
| 146 | } |
| 147 | |
| 148 | const handleInteraction = () => { |
| 149 | if (!active()) return |
| 150 | const selection = window.getSelection() |
| 151 | if (selection && selection.toString().length > 0) { |
| 152 | stop() |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | const updateOverflowAnchor = (el: HTMLElement) => { |
| 157 | const mode = options.overflowAnchor ?? "dynamic" |