SlRvb / Obsidian--ITS-Theme

Theme designed with readability and customizability in mind. Change it easily to your liking with the Style Settings plugin installed.
https://publish.obsidian.md/slrvb-docs/ITS+Theme/ITS+Theme
GNU General Public License v2.0
561 stars 116 forks source link

Footnote does not jump to the bottom #66

Closed Missionary-OSBS closed 2 years ago

Missionary-OSBS commented 2 years ago

Describe the bug

When I click on the footnote, it does not jump to the references at the bottom as it should. Though, it does jump back up when I return from the references.

Expected behavior

It should scroll/jump all the way down to the bottom & at exact location.

To Reproduce

Steps to reproduce the behavior:

  1. Create 'Footnote'
  2. Click on 'Footnote'
  3. It scrolls down halfway, especially in a long file
  4. See error

Screenshots

If applicable, add screenshots to help explain your problem.

Footnote [1] & [2] in the 3rd line 2022-02-03 at 05 49 55 PM (Obsidian)

When I click on either [1] or [2], it scrolls down just halfway not all the way to the bottom references 2022-02-03 at 05 50 02 PM (Obsidian)

This is where the location of references at the bottom 2022-02-03 at 05 50 08 PM (Obsidian)

OS

Where does the bug occur?

Obsidian Version: v0.13.23

Additional context

Add any other context about the problem here.

SlRvb commented 2 years ago

Hmm, this is very strange. I can't seem to recreate this on my end 🤔

Missionary-OSBS commented 2 years ago

Hmm, this is very strange. I can't seem to recreate this on my end 🤔

Did you try to bring your footnote all the way up to the top in a very long file ? When you click on the footnote, it will jump down halfway.

SlRvb commented 2 years ago

Oooh, yep managed to recreate the issue and I think I've pushed out a fix for it 🤔 e5ed931

Update the theme and do let me know if the issue is fixed or not. Thanks for catching that!

Missionary-OSBS commented 2 years ago

Thank you very much for your fixing. I'm a big fan of the theme.

Missionary