Hi,
I’m trying to create a smooth scroll when the navbar is static and fixed. It’s working fine the nav is static but not working when the nav is fixed.
[I’ve added custom to create the functionality]
Thank you so much
Hi,
I’m trying to create a smooth scroll when the navbar is static and fixed. It’s working fine the nav is static but not working when the nav is fixed.
[I’ve added custom to create the functionality]
Thank you so much
Try to achieve the same positioning with Sticky to see if it solves the smooth scrolling. But I wouldn’t be surprised if the browser was incapable to know from where to scroll from when you remove an element from the flow of elements, using fixed or sticky.