mirror of
https://github.com/VisActor/VTable
synced 2024-11-21 17:40:10 +00:00
fix: fix isShowOverflowTextTooltip function
This commit is contained in:
parent
2e29702be5
commit
aeef53e02f
@ -203,9 +203,9 @@ export class TooltipHandler {
|
||||
style: table.theme.tooltipStyle
|
||||
};
|
||||
} else if (
|
||||
(isFunction(table.internalProps.tooltip?.isShowOverflowTextTooltip) &&
|
||||
table.internalProps.tooltip.isShowOverflowTextTooltip(col, row, table)) ??
|
||||
table.internalProps.tooltip.isShowOverflowTextTooltip
|
||||
isFunction(table.internalProps.tooltip?.isShowOverflowTextTooltip)
|
||||
? table.internalProps.tooltip.isShowOverflowTextTooltip(col, row, table)
|
||||
: table.internalProps.tooltip.isShowOverflowTextTooltip
|
||||
) {
|
||||
const overflowText = table.getCellOverflowText(col, row);
|
||||
const rect = table.getCellRangeRelativeRect({ col, row });
|
||||
|
Loading…
Reference in New Issue
Block a user