I need help on hiding scrollbar during transition .
trigger("routeFadeState", [
transition(":enter", [
style({
transform: "translateY(-100vh)"
}),
animate("1000ms ease-out")
]),
transition(":leave",
animate(
"500ms",
style({
transform: "translateY(-100vh)",
overflow: hidden
})
)
)
]);
I'm trying to implement slideInfromTop on :enter and slideOutToTop on :leave . The screen which slideIn should occupy the full screen height and full screen width .
During :enter , my code works perfect . the screen smoothly slidesin with neither vertical scrollbar nor horizontal scrollbar . Scrollbars don't appear at all .
During :leave , though the screen slides out , I see scrollbars appear for a split-second . I want to get rid of that .
I don't use any css frameworks .
Please help me out