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:select): do not run change detection unnecessarily on click events #7175

Merged
merged 1 commit into from
Feb 18, 2022

Conversation

arturovt
Copy link
Member

@arturovt arturovt commented Jan 2, 2022

PR Checklist

Please check if your PR fulfills the following requirements:

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 Jan 2, 2022

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Jan 2, 2022

Codecov Report

Merging #7175 (ed59c55) into master (77db914) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7175      +/-   ##
==========================================
- Coverage   91.67%   91.67%   -0.01%     
==========================================
  Files         486      486              
  Lines       15868    15871       +3     
  Branches     2587     2587              
==========================================
+ Hits        14547    14549       +2     
- Misses       1007     1008       +1     
  Partials      314      314              
Impacted Files Coverage Δ
components/select/select.component.ts 90.28% <100.00%> (+0.09%) ⬆️
components/core/util/text-measure.ts 92.10% <0.00%> (-0.88%) ⬇️

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 77db914...ed59c55. 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 fd63d22 into NG-ZORRO:master Feb 18, 2022
@arturovt arturovt deleted the perf/select-click-overlay branch February 18, 2022 11:25
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