I analyzed again the alignViewportToDocumentEndLocationIfNeeded() you provided, and noticed that despite it being called from textViewportLayoutControllerDidLayout the viewportLayoutController.viewportRange! is sometimes nil (and crashes). I also noticed that the adjustement sometimes failing to adjust viewport to display the end of the document - all of that happens when scrolling is done fast - I'm aware it is vague, but I don't have more context to it myself, it looks misterious to me
Topic:
UI Frameworks
SubTopic:
General
Tags: