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}
|
customThemeParams={NODE_LIST_GRID_STYLES}
|
||||||
getRowHeight={(params: RowHeightParams) => getRowHeight(params)}
|
getRowHeight={(params: RowHeightParams) => getRowHeight(params)}
|
||||||
defaultColDef={defaultColDef}
|
defaultColDef={defaultColDef}
|
||||||
|
tooltipShowDelay={0}
|
||||||
animateRows={true}
|
animateRows={true}
|
||||||
suppressCellFocus={true}
|
suppressCellFocus={true}
|
||||||
overlayNoRowsTemplate={t('noValidators')}
|
overlayNoRowsTemplate={t('noValidators')}
|
||||||
|
@ -59,8 +59,6 @@ export const defaultColDef = {
|
|||||||
comparator: (a: string, b: string) => parseFloat(a) - parseFloat(b),
|
comparator: (a: string, b: string) => parseFloat(a) - parseFloat(b),
|
||||||
cellStyle: { margin: '10px 0', padding: '0 12px' },
|
cellStyle: { margin: '10px 0', padding: '0 12px' },
|
||||||
tooltipComponent: TooltipCellComponent,
|
tooltipComponent: TooltipCellComponent,
|
||||||
tooltipShowDelay: 0,
|
|
||||||
tooltipHideDelay: 0,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
interface ValidatorRendererProps {
|
interface ValidatorRendererProps {
|
||||||
|
@ -236,6 +236,7 @@ export const StandbyPendingValidatorsTable = ({
|
|||||||
customThemeParams={NODE_LIST_GRID_STYLES}
|
customThemeParams={NODE_LIST_GRID_STYLES}
|
||||||
rowHeight={52}
|
rowHeight={52}
|
||||||
defaultColDef={defaultColDef}
|
defaultColDef={defaultColDef}
|
||||||
|
tooltipShowDelay={0}
|
||||||
animateRows={true}
|
animateRows={true}
|
||||||
suppressCellFocus={true}
|
suppressCellFocus={true}
|
||||||
overlayNoRowsTemplate={t('noValidators')}
|
overlayNoRowsTemplate={t('noValidators')}
|
||||||
|
Loading…
Reference in New Issue
Block a user