Skip to content

Commit

Permalink
Prevent arrow navigation when code box is visible
Browse files Browse the repository at this point in the history
  • Loading branch information
yishn committed Jan 30, 2020
1 parent 43aa80d commit 9080ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default class App extends Component {
// Arrow keys

this.setState(state =>
state.cellEditMode || state.selectedArrow != null
state.showCodeBox || state.cellEditMode || state.selectedArrow != null
? null
: {selectedCell: arrAdd(state.selectedCell, arrowControl[evt.key])}
)
Expand Down

0 comments on commit 9080ace

Please sign in to comment.