File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 2
2
<div ref =" triggerEl" class =" afcl-tooltip inline-flex items-center" >
3
3
<slot ></slot >
4
4
</div >
5
- <div
6
- role =" tooltip"
7
- class =" absolute z-20 invisible inline-block px-3 py-2 text-sm font-medium text-lightTooltipText dark:darkTooltipText transition-opacity duration-300 bg-lightTooltipBackground rounded-lg shadow-sm opacity-0 tooltip dark:bg-darkTooltipBackground"
8
- ref =" tooltip"
9
- >
10
- <slot name =" tooltip" ></slot >
11
- <div class =" tooltip-arrow" data-popper-arrow ></div >
12
- </div >
5
+ <Teleport to =" body" >
6
+ <div
7
+ role =" tooltip"
8
+ class =" absolute z-20 invisible inline-block px-3 py-2 text-sm font-medium text-lightTooltipText dark:darkTooltipText transition-opacity duration-300 bg-lightTooltipBackground rounded-lg shadow-sm opacity-0 tooltip dark:bg-darkTooltipBackground"
9
+ ref =" tooltip"
10
+ >
11
+ <slot name =" tooltip" ></slot >
12
+ <div class =" tooltip-arrow" data-popper-arrow ></div >
13
+ </div >
14
+ </Teleport >
13
15
14
16
</template >
15
17
Original file line number Diff line number Diff line change 286
286
:column =" { type: 'datetime' }"
287
287
label =" Pick start"
288
288
/>
289
-
289
+
290
290
</div >
291
291
292
292
You can’t perform that action at this time.
0 commit comments