Embedded internal links expose dead empty space after scroll down within the embedded window.
Expected behavior
When scrolling down an embedded window, it should stop at the end of the file, not expose the dead empty space.
It should behave like in the screenshot below.
To Reproduce
Steps to reproduce the behavior:
Embed an internal link: ![[...]]
Scroll all the way down to the bottom of the file
Scroll back up to the embedded link
See error: You would scroll down the embedded link with dead empty space
It would be more apparent when embedded links at the bottom of a file
If you keep scrolling up and down so many times, even the small embedded content window without scroll bar extended the dead empty space as well.
Describe the bug
Embedded internal links expose dead empty space after scroll down within the embedded window.
Expected behavior When scrolling down an embedded window, it should stop at the end of the file, not expose the dead empty space. It should behave like in the screenshot below.![2022-02-24 at 02 03 27 AM (Obsidian)](https://user-images.githubusercontent.com/98799613/155502761-9fe632e4-66a6-4fdb-a164-49683d45ad95.jpg)
To Reproduce
Steps to reproduce the behavior:
![[...]]
Screenshots
OS
Where does the bug occur?
Obsidian Version: v0.13.26