Table: Fixing scrolling draging the vertical handle (#23311)

* Table: Fixing scrolling draging the vertical handle

* updated snapshots
This commit is contained in:
Torkel Ödegaard
2020-04-03 10:21:15 +02:00
committed by GitHub
parent 2e58a65e8f
commit 54ddaecea1
5 changed files with 11 additions and 18 deletions

View File

@@ -220,7 +220,7 @@ exports[`ServerStats Should render table with stats 1`] = `
</div>
</div>
<div
className="css-52gpmd track-horizontal"
className="track-horizontal"
style={
Object {
"display": "none",
@@ -241,7 +241,7 @@ exports[`ServerStats Should render table with stats 1`] = `
/>
</div>
<div
className="css-52gpmd track-vertical"
className="track-vertical"
style={
Object {
"display": "none",

View File

@@ -353,8 +353,8 @@ export class PanelInspector extends PureComponent<Props, State> {
return (
<Drawer title={this.drawerHeader} width={drawerWidth} onClose={this.onDismiss}>
<TabContent className={styles.tabContent}>
{tab === InspectTab.Data && this.renderDataTab()}
<CustomScrollbar autoHeightMin="100%">
{tab === InspectTab.Data && this.renderDataTab()}
{tab === InspectTab.Meta && this.renderMetadataInspector()}
{tab === InspectTab.Request && this.renderRequestTab()}
{tab === InspectTab.Error && this.renderErrorTab(error)}