Skip to content

Commit

Permalink
Fix: Remove hover functions on history tab (#1204)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElinorW authored Nov 11, 2021
1 parent c7b01e9 commit 7454b85
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/app/views/sidebar/history/History.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -527,12 +527,7 @@ export class History extends Component<IHistoryProps, any> {
message={`${items.length} search results available.`}
/>
{items.length > 0 &&
<div
onMouseEnter={() => this.setState({ isHoverOverHistoryList: true })}
onMouseLeave={() => this.setState({ isHoverOverHistoryList: false })}>
<DetailsList
styles={this.state.isHoverOverHistoryList ?
{ root: { overflow: 'scroll' } } : { root: { overflow: 'hidden' } }}
className={classes.queryList}
onRenderItemColumn={this.renderItemColumn}
items={items}
Expand All @@ -546,7 +541,7 @@ export class History extends Component<IHistoryProps, any> {
onRenderRow={this.renderRow}
onRenderDetailsHeader={this.renderDetailsHeader}
/>
</div>}
}
</div>
<Dialog
hidden={hideDialog}
Expand Down

0 comments on commit 7454b85

Please sign in to comment.