Repository navigation
feat(module:float-button): add pop animation to float button menu - #9413
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9413 +/- ##
==========================================
- Coverage 92.13% 91.39% -0.75%
==========================================
Files 561 561
Lines 19758 19736 -22
Branches 3033 3031 -2
==========================================
- Hits 18204 18037 -167
- Misses 1223 1371 +148
+ Partials 331 328 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
695c0a8 to
5763335
Compare
|
@Laffery I have refactored the code I submitted last time by the new animation APIs of Angular. Could you please review it again? :) |
There was a problem hiding this comment.
Basically LGTM
@Nicoss54 @HyperLife1119 I am not expert in angular's animation, I have two questions:
- Does
provideNoopAnimationswork for native animation APIs? - The native animation APIs were supported in v20.2, does this mean we should update ng-zorro-antd's peerDependencies to
^20.2? Or should we put it on hold until the next major release?
|
As far as I know, A brief investigation of To move away from |
agree with you |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
The float button menu has no popup animation.
https://ng.ant.design/components/float-button/zh#components-float-button-demo-group-placement
What is the new behavior?
set popup animation for
nzPlacement, ifnzPlacementis'top', the float button menu will popup from bottom to topDoes this PR introduce a breaking change?