Skip to content
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

fix(typeahead): fix close on blur #2816

Merged
merged 2 commits into from
Oct 10, 2017
Merged

fix(typeahead): fix close on blur #2816

merged 2 commits into from
Oct 10, 2017

Conversation

IlyaSurmay
Copy link
Contributor

@IlyaSurmay IlyaSurmay commented Oct 9, 2017

Fixes #2588

  • read and followed the CONTRIBUTING.md guide.
  • built and tested the changes locally.
  • added/updated tests.

@codecov
Copy link

codecov bot commented Oct 9, 2017

Codecov Report

Merging #2816 into development will decrease coverage by 0.03%.
The diff coverage is 42.85%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development    #2816      +/-   ##
===============================================
- Coverage        70.48%   70.44%   -0.04%     
===============================================
  Files              137      137              
  Lines             4089     4094       +5     
  Branches           711      712       +1     
===============================================
+ Hits              2882     2884       +2     
- Misses             909      912       +3     
  Partials           298      298
Impacted Files Coverage Δ
src/typeahead/typeahead.directive.ts 71.89% <42.85%> (-0.89%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 934da3a...3b3e623. Read the comment docs.

@@ -276,6 +276,10 @@ export class TypeaheadDirective implements OnInit, OnDestroy {
dropup: this.dropup
});

this._outsideClickListener = this.renderer.listen('document', 'click', () => {

This comment was marked as off-topic.

This comment was marked as off-topic.

@valorkin valorkin merged commit 8bedcee into development Oct 10, 2017
@valorkin valorkin added this to the v2.0.0 milestone Oct 10, 2017
@valorkin valorkin deleted the fix-typeahead-click branch October 10, 2017 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants