Skip to content

Commit

Permalink
fix: fire onBlur event on outside click
Browse files Browse the repository at this point in the history
  • Loading branch information
HellWolf93 committed Oct 24, 2021
1 parent b0a994c commit 63eaaf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Picklist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class Picklist extends Component {
this.outsideClick.startListening(this.containerRef.current, (_, event) => {
if (this.eventTarget !== event.target) {
this.closeMenu();
this.handleBlur();
}
});
this.windowScrolling.startListening(this.handleWindowScroll);
Expand Down

0 comments on commit 63eaaf3

Please sign in to comment.