This repository was archived by the owner on Mar 4, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
21
21
- Fix focus outline visible only during keyboard navigation in ` ListItem ` @layershifter ([ #727 ] ( https://github.com/stardust-ui/react/pull/727 ) )
22
22
- Pass ` jest --detectLeaks ` tests @miroslavstastny ([ #718 ] ( https://github.com/stardust-ui/react/pull/718 ) )
23
23
- Fix Avatar's size example @mnajdova ([ #745 ] ( https://github.com/stardust-ui/react/pull/745 ) )
24
+ - Fix ` Popup ` - do not stop event propagation when pressing Esc on trigger element @sophieH29 ([ #750 ] ( https://github.com/stardust-ui/react/pull/750 ) )
24
25
25
26
### Features
26
27
- Rename ` Slot ` component to ` Box ` and export it @Bugaa92 ([ #713 ] ( https://github.com/stardust-ui/react/pull/713 ) )
Original file line number Diff line number Diff line change @@ -175,10 +175,7 @@ export default class Popup extends AutoControlledComponent<ReactProps<PopupProps
175
175
this . close ( e , ( ) => _ . invoke ( this . triggerDomElement , 'focus' ) )
176
176
e . stopPropagation ( )
177
177
} ,
178
- close : e => {
179
- this . close ( e )
180
- e . stopPropagation ( )
181
- } ,
178
+ close : e => this . close ( e ) ,
182
179
}
183
180
184
181
public componentDidMount ( ) {
You can’t perform that action at this time.
0 commit comments