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(nav): work corretly inside components with OnPush #3934

Conversation

maxokorokov
Copy link
Member

A regression introduced with animations.
We already have all tests in place that cover the use case in the issue if we mark ngbNavOutlet with OnPush itself.

Fixes #3930

A regression introduced with animations.
We already have all tests in place that cover the use case in the issue if we mark `ngbNavOutlet` with `OnPush` itself.

Fixes ng-bootstrap#3930
@codecov-io
Copy link

Codecov Report

Merging #3934 (7ece506) into master (9dd3044) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3934   +/-   ##
=======================================
  Coverage   91.26%   91.26%           
=======================================
  Files         110      110           
  Lines        3158     3159    +1     
  Branches      608      608           
=======================================
+ Hits         2882     2883    +1     
  Misses        195      195           
  Partials       81       81           
Flag Coverage Δ
e2e 49.63% <0.00%> (-0.02%) ⬇️
unit 87.93% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/nav/nav-outlet.ts 90.32% <100.00%> (+0.32%) ⬆️

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 9dd3044...7ece506. Read the comment docs.

@maxokorokov maxokorokov merged commit 038e89a into ng-bootstrap:master Jan 8, 2021
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.

The navtab content DOM will NOT be destroyed if it is not active
2 participants