DEV Community

Discussion on: Creating a sidebar menu in Svelte

Collapse
 
subhendupsingh profile image
Subhendu Pratap Singh

sidebar with position absolute will scroll up along with the page if the page is long and goes past the first view port. Making its position fixed will fix this behavior.