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

perf(module:dropdown): do not run change detection if the dropdown has been clicked inside #7135

Merged
merged 1 commit into from Feb 25, 2022

Conversation

arturovt
Copy link
Member

PR Checklist

PR Type

[x] Refactoring (no functional changes, no api changes)

Does this PR introduce a breaking change?

[ ] Yes
[x] No

@zorro-bot
Copy link

zorro-bot bot commented Dec 22, 2021

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Dec 22, 2021

Codecov Report

Merging #7135 (81a1659) into master (ab78821) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7135      +/-   ##
==========================================
+ Coverage   89.75%   89.77%   +0.01%     
==========================================
  Files         488      488              
  Lines       15937    15948      +11     
  Branches     2579     2579              
==========================================
+ Hits        14304    14317      +13     
+ Misses       1001      998       -3     
- Partials      632      633       +1     
Impacted Files Coverage Δ
components/dropdown/context-menu.service.ts 96.42% <100.00%> (+0.42%) ⬆️
components/input/input.directive.ts 93.93% <0.00%> (-3.04%) ⬇️
components/cascader/cascader.service.ts 97.07% <0.00%> (-0.49%) ⬇️
components/tree/tree-node.component.ts 90.37% <0.00%> (-0.39%) ⬇️
components/layout/sider.component.ts 94.82% <0.00%> (ø)
components/cascader/cascader-li.component.ts 100.00% <0.00%> (ø)
components/transfer/transfer-list.component.ts 96.22% <0.00%> (ø)
components/cascader/cascader.component.ts 94.79% <0.00%> (+0.03%) ⬆️
components/tree/tree.component.ts 92.65% <0.00%> (+0.04%) ⬆️
components/skeleton/skeleton-element.component.ts 95.00% <0.00%> (+0.26%) ⬆️
... and 2 more

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 ab78821...81a1659. Read the comment docs.

Copy link
Member

@simplejason simplejason left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simplejason simplejason merged commit 4679592 into NG-ZORRO:master Feb 25, 2022
@arturovt arturovt deleted the perf/dropdown-context-menu branch February 25, 2022 02:16
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.

None yet

2 participants