Skip to content

Commit

Permalink
[SQL Lab] Improved query and results tabs rendering reliability (#7082)
Browse files Browse the repository at this point in the history
closes #7080
  • Loading branch information
enricoberti authored and xtinec committed Mar 21, 2019
1 parent b210742 commit 9b58e9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions superset/assets/src/SqlLab/components/SouthPane.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ export class SouthPane extends React.PureComponent {
<div className="SouthPane" ref={this.southPaneRef}>
<Tabs
bsStyle="tabs"
animation={false}
id={shortid.generate()}
activeKey={this.props.activeSouthPaneTab}
onSelect={this.switchTab}
Expand Down
1 change: 1 addition & 0 deletions superset/assets/src/SqlLab/components/TabbedSqlEditors.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ class TabbedSqlEditors extends React.PureComponent {
return (
<Tabs
bsStyle="tabs"
animation={false}
activeKey={this.props.tabHistory[this.props.tabHistory.length - 1]}
onSelect={this.handleSelect.bind(this)}
id="a11y-query-editor-tabs"
Expand Down

0 comments on commit 9b58e9f

Please sign in to comment.