Replies: 1 comment 1 reply
-
Although nothing is documented, my current hypothesis is that it's the TextKit2 bug. Looks like layout estimate sizes even though the report it as not estimated. Later on, the size is corrected, but damage already has been done. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently trying to understand the behavior of
NSTextViewportLayoutControllerDelegate
inSTTextView
. I have noticed that when copying a large amount of text into the text view (about 30,000 lines) and then dragging the scroll bar to the bottom and scrolling upwards with the trackpad at a constant speed, there is a periodic jittering effect. Interestingly, if I quickly browse through the area to be scrolled first and then scroll upwards within that area, this phenomenon disappears. I have tried modifying the content inSTTextView+NSTextViewportLayoutControllerDelegate.swift
but have not been able to determine a solution. Is this issue happening within TextKit2 internally?Beta Was this translation helpful? Give feedback.
All reactions