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
When scrolling large files, the scrollbar twitches around the place. Only if the whole document has been completely viewed, the scrollbar will behave as expected.
Upon further investigation, I found that the textview.frame.height property changes a lot during scrolling. It might be the reason, why the scrollbar behaves weirdly.
To Reproduce
Open file with content that does not fit in viewport.
Scroll
Expected Behavior
Scrollbar animation should be smooth and self.textView.frame.height should stay constant during scrolling.
Description
When scrolling large files, the scrollbar twitches around the place. Only if the whole document has been completely viewed, the scrollbar will behave as expected.
Upon further investigation, I found that the
textview.frame.heightproperty changes a lot during scrolling. It might be the reason, why the scrollbar behaves weirdly.To Reproduce
Expected Behavior
Scrollbar animation should be smooth and
self.textView.frame.heightshould stay constant during scrolling.Version Information
CodeEditTextView: 0.6.2
macOS: 13.3.1
Xcode: 14.3
Additional Context
No response
Screenshots
Screen.Recording.2023-04-30.at.20.25.07.mov