Skip to content
Discussion options

You must be logged in to vote

After checking some more, ScrollPastEnd does not work if the containing div does not have a set height (source: the official CM 6 documentation), as it tries to add blank lines at the end of the document to fill it to the whole height. So if no height is set, it will keep on adding more blank lines indefinitely. You can set the height via the recently added Height / MaxHeight properties, which expect CSS-style values (for example 100vh, calc(100vh - 8em), 100em, 500px, 100%, etc)
Full screen mode enables the cm-full-screen CSS class which sets height: 100vh.
Let me know if you have the problem without ScrollPastEnd enabled or with it enabled and with a fixed height.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pm64
Comment options

Answer selected by pm64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants