Scroll_smooth_offset is not working

Created on 6 November 2023, about 1 year ago

Problem/Motivation

When I set the scroll_smooth_offset like described in the documentation of https://tscanlin.github.io/tocbot/#fixed-headers
the offset is not working.

Steps to reproduce

Set a - number in the settings form.
Go the page with the generated toc items and click one of the items

Proposed resolution

It looks like the javascript needs a number but gets a string.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇳🇱Netherlands DomoSapiens

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024