Should make correct tooltip open
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
(defn link-dropdown [links]
|
(defn link-dropdown [links]
|
||||||
(when (> (count links) 0)
|
(when (> (count links) 0)
|
||||||
[:div
|
[:div {:x-data (hx/json {})}
|
||||||
|
|
||||||
(com/a-icon-button {:class "relative"
|
(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']}}]}})"
|
"@click.prevent" "$tooltip($refs.tooltip, {content: ()=>$refs.tooltip.innerHTML, theme: 'light', allowHTML: true, interactive:true, popperOptions: {strategy: 'fixed', modifiers: [{name: 'flip', options: {fallbackPlacements: ['top']}}]}})"
|
||||||
|
|||||||
Reference in New Issue
Block a user