Webflow's default smooth-scrolling should take scroll-padding-* properties into account

When adding, for example, scroll-padding-top to an element that is set as an anchor link target, the default smooth-scrolling script should respect it and add the requested offset when scrolling.

  • Hans Jørgensen
  • Mar 4 2024
  • Chase Razabdouski commented
    7 Aug 01:38am

    We absolutely need for scroll-padding-* and scroll-margin-* to work.