Slidebars icon indicating copy to clipboard operation
Slidebars copied to clipboard

Anchor links don't work with most smooth scrolling implementations

Open JoryHogeveen opened this issue 7 years ago • 3 comments

Because all scrolling is now happening on the canvas="container" element, all smooth scroll implementations don't with since they target other elements (window or body most of the time).

With the old Slidebars it did work.

Related issues probably because of the same thing: https://github.com/adchsm/Slidebars/issues/251 https://github.com/adchsm/Slidebars/issues/237 https://github.com/adchsm/Slidebars/issues/230

JoryHogeveen avatar Sep 30 '16 10:09 JoryHogeveen

I followed the info on the page below and got it to work - have you given that a try?

https://www.adchsm.com/slidebars/help/advanced-usage/scrolling-the-html-or-body-elements/

guyhamilton avatar Nov 16 '16 22:11 guyhamilton

Hi @guyhamilton Yes I know that option and it works fine. But if you want it to be compatible with existing themes and plugins for various CMS this needs to be fixed. (Not the end user speaking here but the theme/plugin developer.)

JoryHogeveen avatar Nov 16 '16 23:11 JoryHogeveen

@JoryHogeveen Did you ever figure this out?

NoLooseEnds avatar Feb 23 '17 14:02 NoLooseEnds