I have the following layout that is a well know approach to use a TextView inside a ScrollView.
It works really great overall but there is a small issue that annoys me a lot.
Look at the caret. When inserting a new line autolayout won't update. It only update the constraints when new characters are added and suddenly the line shows up properly again. For context this works really great when using only TextViews without scrollViews so im wondering if there is something more i need to do manually to emulate that behaviour.
Right now im triggering a view.layoutIfNeeded()
on the textViewDidChange
delegate to solve the issue but it feels overkill to me.
Thanks in advance.