mirror of
https://github.com/penpot/penpot.git
synced 2025-07-16 05:55:13 +02:00
🐛 Fix absolute position tooltip message (#6660)
This commit is contained in:
parent
d008ea9edd
commit
46ce9500fc
2 changed files with 22 additions and 23 deletions
|
@ -148,7 +148,7 @@
|
|||
(ts/dispose! schedule)
|
||||
(mf/set-ref-val! schedule-ref nil))
|
||||
(when-let [tooltip (dom/get-element id)]
|
||||
(let [trigger-rect (->> (dom/get-current-target event)
|
||||
(let [trigger-rect (->> (dom/get-target event)
|
||||
(dom/get-bounding-rect))]
|
||||
(mf/set-ref-val!
|
||||
schedule-ref
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue