🐛 Fix select color tooltip error (#6648)

This commit is contained in:
Eva Marco 2025-06-05 21:15:00 +02:00 committed by GitHub
parent b2aaa5f0df
commit 8b9f15f414
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -128,7 +128,8 @@
position-tooltip
(fn [^js tooltip trigger-rect]
(let [all-placements (get-fallback-order placement)]
(.showPopover ^js tooltip)
(when (.-isConnected tooltip)
(.showPopover ^js tooltip))
(loop [[current-placement & remaining-placements] all-placements]
(when current-placement
(reset! placement* current-placement)