Dataset Profile editor . Scroll timing Fix

This commit is contained in:
Kristian Ntavidi 2021-03-23 13:52:33 +02:00
parent 5e77f78a1c
commit b6236b7e0d
2 changed files with 26 additions and 16 deletions

View File

@ -45,3 +45,15 @@ export const STEPPER_ANIMATIONS = [
])
])
];
export const GENERAL_ANIMATIONS = [
trigger('enterIn',[
transition(':enter',[
style({
transform:'scale(0)',
'transform-origin':'50% 0',
opacity:0
}),
animate('800ms ease', style({transform:'scale(1)', opacity:1}))
])
])
]

View File

@ -150,9 +150,7 @@ export class DatasetProfileEditorSectionFieldSetComponent implements OnInit, OnC
if(el){
el.scrollIntoView({behavior: "smooth"});
}
}, 1100);
}else{
this._scrollOnTop();
}, 700);
}
}