()
| 100 | }; |
| 101 | |
| 102 | const onHide = () => { |
| 103 | if (!scrollingContainer) { |
| 104 | return; |
| 105 | } |
| 106 | if (handler.current) { |
| 107 | scrollingContainer.removeEventListener('scroll', handler.current); |
| 108 | } |
| 109 | }; |
| 110 | |
| 111 | // This is a workaround to fix the issue of the tooltip getting cleared |
| 112 | // when the user moves their mouse from a markdown @ to the tooltip |
no outgoing calls
no test coverage detected