Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

editorview Y is offset when content more large #254

Open
ljssafe opened this issue Jul 4, 2021 · 2 comments
Open

editorview Y is offset when content more large #254

ljssafe opened this issue Jul 4, 2021 · 2 comments

Comments

@ljssafe
Copy link

ljssafe commented Jul 4, 2021

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
Copy link
Author

ljssafe commented Jul 4, 2021

image

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

@victoria53
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants