Skip to content

Commit

Permalink
feat(ZNTA-1732): move sidebar context so it can accept key shortcuts
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmason committed Feb 21, 2017
1 parent e140855 commit 67e4da5
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -100,8 +100,8 @@ class Root extends Component {
// TODO adjust scrollbar width on div like Angular template editor.html
return (
<ParamPropDispatcher {...this.props}>
<Sidebar {...sidebarProps}>
<KeyShortcutDispatcher className="Editor is-suggestions-active">
<KeyShortcutDispatcher className="Editor is-suggestions-active">
<Sidebar {...sidebarProps}>
<Icons />
<EditorHeader />
<SplitPane ref="suggestionResizer"
Expand All @@ -113,8 +113,8 @@ class Root extends Component {
{this.props.showSuggestion && <SuggestionsPanel />}
</SplitPane>
<KeyShortcutCheatSheet />
</KeyShortcutDispatcher>
</Sidebar>
</Sidebar>
</KeyShortcutDispatcher>
</ParamPropDispatcher>
)
}
Expand Down

0 comments on commit 67e4da5

Please sign in to comment.