cjwirth / RichEditorView

RichEditorView is a simple, modular, drop-in UIView subclass for Rich Text Editing.
BSD 3-Clause "New" or "Revised" License
1.89k stars 445 forks source link

editorview Y is offset when content more large #254

Open ljssafe opened 3 years ago

ljssafe commented 3 years ago

62621625404593_  #pic_hd

The height of the textview on the surface layer is lengthened with the increase of the content. However, editorview is the actual height of the red part. Then the entire textview on the surface layer can be moved, and its Y axis will also change to block the view on it. Is there any good solution

ljssafe commented 3 years ago

image

look like this when i move up it, it become this offset effect

victoria53 commented 2 years ago

I had the same problem. Fixed it by setting editorContainerView.clipsToBounds = true.