+
);
@@ -607,9 +609,10 @@ function ResizableTableColumnHeader(props) {
isVirtualized: true,
hasMenu: true
}, state, ref);
+
let {hoverProps, isHovered} = useHover({...props, isDisabled: isEmpty});
- const allProps = [columnHeaderProps, hoverProps, pressProps];
+ const allProps = [columnHeaderProps, pressProps, hoverProps];
let columnProps = column.props as SpectrumColumnProps
;
@@ -697,12 +700,15 @@ function ResizableTableColumnHeader(props) {
}>
+ {columnProps.allowsSorting &&
+
+ }
{columnProps.hideHeader ?
{column.rendered} :
- column.rendered
+ {column.rendered}
}
- {columnProps.allowsSorting &&
-
+ {
+ columnProps.allowsResizing && columnState.currentlyResizingColumn === null &&
}