Skip to content

feat(module:popover): add nzPopoverOverlayClickable to disable click on mask#8878

Merged
Laffery merged 2 commits into
NG-ZORRO:masterfrom
OriginRing:feat/cdkConnectedOverlay
Jan 16, 2025
Merged

feat(module:popover): add nzPopoverOverlayClickable to disable click on mask#8878
Laffery merged 2 commits into
NG-ZORRO:masterfrom
OriginRing:feat/cdkConnectedOverlay

Conversation

@OriginRing
Copy link
Copy Markdown
Collaborator

@OriginRing OriginRing commented Nov 13, 2024

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Application (the showcase website) / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@zorro-bot
Copy link
Copy Markdown

zorro-bot Bot commented Nov 13, 2024

This preview will be available after the AzureCI is passed.

@OriginRing OriginRing force-pushed the feat/cdkConnectedOverlay branch from d55ccf5 to 372756c Compare November 13, 2024 09:56
@OriginRing OriginRing requested a review from Laffery November 13, 2024 09:56
@OriginRing OriginRing force-pushed the feat/cdkConnectedOverlay branch from 372756c to 90214cb Compare November 13, 2024 10:40
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.91%. Comparing base (9ecbb29) to head (3835d45).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8878   +/-   ##
=======================================
  Coverage   91.90%   91.91%           
=======================================
  Files         555      555           
  Lines       19711    19717    +6     
  Branches     2944     2946    +2     
=======================================
+ Hits        18116    18122    +6     
  Misses       1268     1268           
  Partials      327      327           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Collaborator

@Laffery Laffery left a comment

Choose a reason for hiding this comment

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

1 comments, and please add unit tests

Comment thread components/tooltip/base.ts Outdated
@Laffery Laffery added PR: reviewed-changes-requested PR: need-test Test is necessary for code changes. and removed PR: unreviewed labels Nov 14, 2024
@OriginRing OriginRing force-pushed the feat/cdkConnectedOverlay branch 3 times, most recently from 5774cbc to 21cd1c9 Compare November 19, 2024 03:07
Comment thread components/popover/doc/index.en-US.md Outdated
Comment thread components/tooltip/doc/index.en-US.md Outdated
Comment thread components/popconfirm/doc/index.en-US.md Outdated
@OriginRing OriginRing force-pushed the feat/cdkConnectedOverlay branch 2 times, most recently from a1e5e21 to 0ca53d8 Compare November 21, 2024 01:56
Comment thread components/popconfirm/popconfirm.ts Outdated
@OriginRing OriginRing force-pushed the feat/cdkConnectedOverlay branch from 0ca53d8 to c07252b Compare November 22, 2024 10:27
@HyperLife1119 HyperLife1119 added PR: need-rebase and removed PR: need-test Test is necessary for code changes. labels Dec 4, 2024
@OriginRing OriginRing force-pushed the feat/cdkConnectedOverlay branch 2 times, most recently from bfdd018 to a1a6c2a Compare December 11, 2024 02:28
Comment thread components/popover/demo/overlay.ts Outdated
Comment thread components/popover/demo/overlay.md Outdated
@ViewChild('changePopover', { static: true, read: NzPopoverDirective })
changePopoverNzPopoverDirective!: NzPopoverDirective;

@ViewChild('hideTemplate', { static: false }) hideTemplate!: ElementRef;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

这个变量好像没用?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

补充的测试

@OriginRing OriginRing force-pushed the feat/cdkConnectedOverlay branch from a1a6c2a to bf6f21c Compare January 14, 2025 06:30
@Laffery Laffery added this to the v19.1 milestone Jan 15, 2025
Copy link
Copy Markdown
Collaborator

@Laffery Laffery left a comment

Choose a reason for hiding this comment

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

LGTM

@Laffery Laffery changed the title feat(module:cdkconnectedoverlay): supports disabling click on mask feat(module:popover): supports disabling click on mask Jan 16, 2025
@Laffery Laffery changed the title feat(module:popover): supports disabling click on mask feat(module:popover): add nzPopoverOverlayClickable to disable click on mask Jan 16, 2025
@Laffery Laffery merged commit 5898da7 into NG-ZORRO:master Jan 16, 2025
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.

3 participants