Skip to content

Commit

Permalink
misc fixes related to nav drawer
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankeairns committed Jan 17, 2019
1 parent 4dc948d commit f250397
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## [`master`](https://github.com/elastic/eui/tree/master)

- Added Inter UI to the font family stack ([#1402](https://github.com/elastic/eui/pull/1402))
- Changed padding on `EuiHeaderLogo` and updated `EuiNavDrawer` example ([#1448](https://github.com/elastic/eui/pull/1448))

**Bug fixes**

Expand All @@ -9,6 +10,7 @@

## [`6.4.0`](https://github.com/elastic/eui/tree/v6.4.0)

- Added `EuiNavDrawer` side nav component ([#1427](https://github.com/elastic/eui/pull/1427))
- Added `inputRef` prop to `EuiComboBox` ([#1433](https://github.com/elastic/eui/pull/1433))
- Added custom date string formatting for series charts crosshair overlay ([#1429](https://github.com/elastic/eui/pull/1429))
- Added new icons for `symlink` and `submodule` ([#1439](https://github.com/elastic/eui/pull/1439))
Expand Down
12 changes: 6 additions & 6 deletions src-docs/src/views/nav_drawer/nav_drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default class extends Component {
navFlyoutContent: [],
mobileIsHidden: true,
showScrollbar: false,
outsideClickDisaled: true,
outsideClickDisabled: true,
isManagingFocus: false,
};

Expand Down Expand Up @@ -477,9 +477,9 @@ export default class extends Component {

setTimeout(() => {
this.setState({
outsideClickDisaled: this.state.mobileIsHidden ? true : false,
outsideClickDisabled: this.state.mobileIsHidden ? true : false,
});
}, 150);
}, 350);
};

expandDrawer = () => {
Expand Down Expand Up @@ -516,7 +516,7 @@ export default class extends Component {
flyoutIsCollapsed: true,
mobileIsHidden: true,
showScrollbar: false,
outsideClickDisaled: true,
outsideClickDisabled: true,
});
}, 350);

Expand Down Expand Up @@ -576,7 +576,7 @@ export default class extends Component {
navFlyoutContent,
mobileIsHidden,
showScrollbar,
outsideClickDisaled,
outsideClickDisabled,
} = this.state;

return (
Expand Down Expand Up @@ -605,7 +605,7 @@ export default class extends Component {
</EuiHeader>
<EuiOutsideClickDetector
onOutsideClick={() => this.collapseDrawer()}
isDisabled={outsideClickDisaled}
isDisabled={outsideClickDisabled}
>
<EuiNavDrawer
isCollapsed={isCollapsed}
Expand Down
2 changes: 1 addition & 1 deletion src/components/header/_header_logo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
position: relative;
height: $euiHeaderChildSize;
line-height: $euiHeaderChildSize;
padding: 0 $euiSize;
padding: 0 $euiSizeM;
display: inline-block;
vertical-align: middle;
white-space: nowrap;
Expand Down

0 comments on commit f250397

Please sign in to comment.