Answer the question
In order to leave comments, you need to log in
Angular animation. Why is there a sharp instantaneous change in height, and not a smooth one?
Hey! Weak in Angular and JS. I can not understand why there is a sharp change in the height of the cell in the table. When you click on a line, the angular animation is animated. I change the height of the cell and the display property. The pitch changes, but without a smooth transition. It just opens and closes abruptly) But you need to smoothly :)
Thank you :)
animations: [
trigger('rowVisibleState',
[
state('false',
style({
height: '0px',
display: 'none'
})),
state('true',
style({
height: 'auto',
display: 'table-cell'
})),
transition('0 <=> 1', [
animate('1000ms ease-in')
])
]
)
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question