@Aeteung
Posted
I solved the nav scroll problem by this:
When hamburger clicked:
body.overflowY = hidden;
navBar.overflowY = scroll;
After close button clicked:
body.overflowY = scroll
For the nav part, I think the absolute margin is aesthetically better looking.
@BismeetSingh
Posted
@Aeteung Will try that out.
@BismeetSingh
Posted
@Aeteung Thanks, that works and also learnt something.