Skip to content

Commit a8a774a

Browse files
authored
fix: tooltip onPopupAlign never called (#7112)
1 parent 1fc1097 commit a8a774a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: components/vc-trigger/Popup/interface.ts

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ export const innerProps = {
2222
point: { type: Object as PropType<Point> },
2323
getRootDomNode: { type: Function as PropType<() => HTMLElement> },
2424
getClassNameFromAlign: { type: Function as PropType<(align: AlignType) => string> },
25+
onAlign: {
26+
type: Function as PropType<(popupDomNode: HTMLElement, align: AlignType) => void>,
27+
},
2528
onMouseenter: { type: Function as PropType<(align: MouseEvent) => void> },
2629
onMouseleave: { type: Function as PropType<(align: MouseEvent) => void> },
2730
onMousedown: { type: Function as PropType<(align: MouseEvent) => void> },

0 commit comments

Comments
 (0)