You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
We render a scrollbar by creating a div with a height that reflects the editor's screen line count. Unfortunately DOM nodes' heights seem to be bounded:
Absolutely-positioned elements like cursors stop rendering correctly after a certain number of lines. It seems that DOM nodes' top property has a hard upper bound.
Yeah, I agree. Maybe we could shrink the scrollbar view and its scrollTop proportionally, in order to keep its scroll position correct. It would distort the size of the scrollbar itself (making it taller than it would otherwise be), but that might not be so bad.
maxbrunsfeld
changed the title
Scrollbar incorrectly bottoms out at fixed number of lines
Some editor DOM operations stop working correctly after a certain number of lines
May 31, 2017
Scrollbar
We render a scrollbar by creating a div with a height that reflects the editor's screen line count. Unfortunately DOM nodes' heights seem to be bounded:
Reported by @ungb and @Ben3eeE
Decoration rendering
Absolutely-positioned elements like cursors stop rendering correctly after a certain number of lines. It seems that DOM nodes'
top
property has a hard upper bound./cc @nathansobo @as-cii Any ideas on how to solve this?
The text was updated successfully, but these errors were encountered: