Dataset Profile editor . Scroll timing Fix
This commit is contained in:
parent
5e77f78a1c
commit
b6236b7e0d
|
@ -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}))
|
||||||
|
])
|
||||||
|
])
|
||||||
|
]
|
|
@ -150,9 +150,7 @@ export class DatasetProfileEditorSectionFieldSetComponent implements OnInit, OnC
|
||||||
if(el){
|
if(el){
|
||||||
el.scrollIntoView({behavior: "smooth"});
|
el.scrollIntoView({behavior: "smooth"});
|
||||||
}
|
}
|
||||||
}, 1100);
|
}, 700);
|
||||||
}else{
|
|
||||||
this._scrollOnTop();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue