Skip to content

Footnote links no longer working properly #2075

Closed
@frankhecker

Description

Environment

I am using Minimal Mistakes 4.15.2 and Jekyll 3.8.5, recently upgraded from 4.12.0 and 3.8.3 respectively. For more information see the attached Gemfile.lock files for the old and new environments.

Gemfile.lock-old.txt
Gemfile.lock-new.txt

Expected behavior

In pages generated under the old environment Markdown footnote links behaved as expected: clicking on a footnote numeral link in text would cause the page to scroll to the footnote in question. Once there, clicking on the reverse link arrow would cause the scroll back to the original place where the footnote was referenced.

In pages generated under the new environment this behavior is broken: clicking on either the forward link or revise link causes the page to scroll to the top.

I have tested this under Safari 12.0.3, Firefox 65.01, and Chrome 72.0.3626.121 on MacOS Mojave. All show the same incorrect behavior.

Steps to reproduce the behavior

You can compare the behavior of the old and new generated pages by looking at the following two pages, the first one on my production server generated under MM 4.12.0, and the second on my staging server generated under MM 4.15.2; the underlying Markdown for the pages is unchanged from one to the other:

OLD: https://civilityandtruth.com/2018/03/22/seven-answers-social-democracy/
NEW: http://frankhecker.net/2018/03/22/seven-answers-social-democracy/

Other

If and when I have time I will try to create a minimal reproducible test case. The generated HTML for the pages themselves doesn't seem to differ in the HTML code for the footnotes, so it's possible the problem is in the included CSS files.

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions