[Tooltip]: inconsistent animation in grid validation #15848
Labels
🐛 bug
Any issue that describes a bug
tooltip
✅ status: resolved
Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Description
When activating the cell validation, the tooltip uses the default open animation (
scaleInVerTop
) and close Animation (scaleOutVerTop
) of theConnectedPositionStrategy
.https://github.com/IgniteUI/igniteui-angular/blob/master/projects/igniteui-angular/src/lib/services/overlay/position/connected-positioning-strategy.ts#L23
When hovering over the error icon, the default animations defined in
IgxTooltipTarget
are used -scaleInCenter
for the open animation andfadeOut
for the close animation.https://github.com/IgniteUI/igniteui-angular/blob/master/projects/igniteui-angular/src/lib/directives/tooltip/tooltip-target.directive.ts#L292
These animations have different durations as well.
Steps to reproduce
Result
The open and close animations are not the same in both scenarios.
Expected result
As per discussing this matter with @dkoleva-infra, only the default open/close animation of the
IgxTooltipTarget
should be used -scaleInCenter
for the open animation with duration 150ms andfadeOut
for the close animation with duration 75ms.The text was updated successfully, but these errors were encountered: