mirror of
https://github.com/penpot/penpot.git
synced 2025-07-21 12:27:13 +02:00
🐛 Fix select color tooltip error (#6648)
This commit is contained in:
parent
b2aaa5f0df
commit
8b9f15f414
1 changed files with 2 additions and 1 deletions
|
@ -128,7 +128,8 @@
|
||||||
position-tooltip
|
position-tooltip
|
||||||
(fn [^js tooltip trigger-rect]
|
(fn [^js tooltip trigger-rect]
|
||||||
(let [all-placements (get-fallback-order placement)]
|
(let [all-placements (get-fallback-order placement)]
|
||||||
(.showPopover ^js tooltip)
|
(when (.-isConnected tooltip)
|
||||||
|
(.showPopover ^js tooltip))
|
||||||
(loop [[current-placement & remaining-placements] all-placements]
|
(loop [[current-placement & remaining-placements] all-placements]
|
||||||
(when current-placement
|
(when current-placement
|
||||||
(reset! placement* current-placement)
|
(reset! placement* current-placement)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue