feat(governance): no delay on tooltip for validators table column headers (#2963)
This commit is contained in:
parent
0033f3c5f5
commit
95f4e489b2
@ -363,6 +363,7 @@ export const ConsensusValidatorsTable = ({
|
||||
customThemeParams={NODE_LIST_GRID_STYLES}
|
||||
getRowHeight={(params: RowHeightParams) => getRowHeight(params)}
|
||||
defaultColDef={defaultColDef}
|
||||
tooltipShowDelay={0}
|
||||
animateRows={true}
|
||||
suppressCellFocus={true}
|
||||
overlayNoRowsTemplate={t('noValidators')}
|
||||
|
@ -59,8 +59,6 @@ export const defaultColDef = {
|
||||
comparator: (a: string, b: string) => parseFloat(a) - parseFloat(b),
|
||||
cellStyle: { margin: '10px 0', padding: '0 12px' },
|
||||
tooltipComponent: TooltipCellComponent,
|
||||
tooltipShowDelay: 0,
|
||||
tooltipHideDelay: 0,
|
||||
};
|
||||
|
||||
interface ValidatorRendererProps {
|
||||
|
@ -236,6 +236,7 @@ export const StandbyPendingValidatorsTable = ({
|
||||
customThemeParams={NODE_LIST_GRID_STYLES}
|
||||
rowHeight={52}
|
||||
defaultColDef={defaultColDef}
|
||||
tooltipShowDelay={0}
|
||||
animateRows={true}
|
||||
suppressCellFocus={true}
|
||||
overlayNoRowsTemplate={t('noValidators')}
|
||||
|
Loading…
Reference in New Issue
Block a user