rusackas commented on code in PR #18988:
URL: https://github.com/apache/superset/pull/18988#discussion_r852403696
##########
superset-frontend/src/components/FilterableTable/FilterableTable.tsx:
##########
@@ -445,32 +448,52 @@ export default class FilterableTable extends
PureComponent<
? 'header-style-disabled'
: 'header-style';
return (
- <Tooltip
- key={key}
- id="header-tooltip"
- title={label}
- placement="topLeft"
- css={{ display: 'block' }}
+ <div
+ style={{
+ ...style,
+ top:
+ typeof style.top === 'number'
+ ? style.top - GRID_POSITION_ADJUSTMENT
+ : style.top,
+ }}
+ className={`${className} grid-cell grid-header-cell`}
+ role="columnheader"
+ tabIndex={columnIndex}
+ onClick={() => this.sortGrid(label)}
>
- <div
- style={{
- ...style,
- top:
- typeof style.top === 'number'
- ? style.top - GRID_POSITION_ADJUSTMENT
- : style.top,
- }}
- className={`${className} grid-cell grid-header-cell`}
- role="columnheader"
- tabIndex={columnIndex}
- onClick={() => this.sortGrid(label)}
- >
+ <TooltipParagraph key={key} id="header-tooltip">
{label}
- {this.state.sortBy === label && (
- <SortIndicator sortDirection={this.state.sortDirection} />
- )}
- </div>
- </Tooltip>
+ </TooltipParagraph>
+ {this.state.sortBy === label && (
+ <SortIndicator sortDirection={this.state.sortDirection} />
+ )}
+ </div>
+ // <Tooltip
Review Comment:
Delete commentes :)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]