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(module:datepicker): fixed opacity 0 on inline datepicker reopen #6910
Conversation
This preview will be available after the AzureCI is passed. |
Codecov Report
@@ Coverage Diff @@
## master #6910 +/- ##
=======================================
Coverage 89.50% 89.50%
=======================================
Files 489 489
Lines 15805 15805
Branches 2428 2428
=======================================
Hits 14147 14147
Misses 1016 1016
Partials 642 642
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<ng-template
cdkConnectedOverlay
nzConnectedOverlay
[cdkConnectedOverlayHasBackdrop]="nzBackdrop"
[cdkConnectedOverlayOrigin]="origin"
[cdkConnectedOverlayOpen]="realOpenState"
[cdkConnectedOverlayPositions]="overlayPositions"
[cdkConnectedOverlayTransformOriginOn]="'.ant-picker-wrapper'"
(positionChange)="onPositionChange($event)"
(detach)="close()"
(overlayKeydown)="onOverlayKeydown($event)"
>
<div
class="ant-picker-wrapper"
[nzNoAnimation]="!!noAnimation?.nzNoAnimation"
[@slideMotion]="'enter'"
style="position: relative;"
>
<ng-container *ngTemplateOutlet="inlineMode"></ng-container>
</div>
</ng-template>
close #6897. |
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?
#6897
Issue Number: 6897
What is the new behavior?
There is no animation for inline mode datepicker so it's not going invisible after re-opening
Does this PR introduce a breaking change?
Other information
Inline datepicker don't need to have animation because it's inline, nothing is opened through dropdown. Problems was in animation attached to inline mode so it's going to make
opacity: 0
on inline datepicker after re-opening