Skip to content

Commit

Permalink
escape stop propagation
Browse files Browse the repository at this point in the history
  • Loading branch information
Xindi Xu committed Jul 20, 2020
1 parent b611b9b commit 603783e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/skins-dot.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export default class SkinsDot extends Skins {

case 'Escape':
this.setState({ opened: false })
e.stopPropagation()

default:
break
Expand Down

0 comments on commit 603783e

Please sign in to comment.