Should make correct tooltip open

This commit is contained in:
2025-02-03 12:11:38 -08:00
parent c863d36836
commit 329a1dc0d4

View File

@@ -5,7 +5,7 @@
(defn link-dropdown [links]
(when (> (count links) 0)
[:div
[:div {:x-data (hx/json {})}
(com/a-icon-button {:class "relative"
"@click.prevent" "$tooltip($refs.tooltip, {content: ()=>$refs.tooltip.innerHTML, theme: 'light', allowHTML: true, interactive:true, popperOptions: {strategy: 'fixed', modifiers: [{name: 'flip', options: {fallbackPlacements: ['top']}}]}})"