Handle deleted threads

This commit is contained in:
Jon Staab
2024-10-24 11:52:02 -07:00
parent 33c8142eda
commit dd7c0f3b07
13 changed files with 102 additions and 68 deletions
+5 -3
View File
@@ -18,10 +18,12 @@
}
const onMouseMove = throttle(300, ({clientX, clientY}: any) => {
const {x, y, width, height} = popover.popper.getBoundingClientRect()
if (popover) {
const {x, y, width, height} = popover.popper.getBoundingClientRect()
if (!between([x, x + width], clientX) || !between([y - 30, y + height + 30], clientY)) {
popover.hide()
if (!between([x, x + width], clientX) || !between([y - 30, y + height + 30], clientY)) {
popover.hide()
}
}
})