-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
836 map setting menu left drawer #875
Conversation
This reverts commit f0d3fcf.
display: 'flex', | ||
}, | ||
appBar: { | ||
transition: theme.transitions.create(['margin', 'width'], { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome, haven't used this before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I dont think this is being used anywhere! Got it from the material component.
Will remove.
}; | ||
|
||
const escFunction = e => { | ||
e.preventDefault(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like this is preventing the chrome devtools keyboard shortcut from working. a couple options that fixed it, hopefully without causing any side effects:
- move e.preventDefault inside the
if
block - change the eventListener to 'keypress' instead of 'keydown'
keypress fires after keydown, so maybe that's somehow messing up the shortcut?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will look into it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really great! I left a comment re the keydown problem. After this is merged in, I'll merge it into my layout branch and shift things around so it's not directly in the App component.
Good stuff!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good!
Fixes #836
dev
branchAny questions? See the getting started guide

Note: The web drawer looks different than the one pictured. I based it off the mobile screen