Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing layout content when performTextFinderAction #75

Closed

Conversation

paul1893
Copy link

Following discussion #74, performTextFinderAction feature seems broken on 2.0.0-beta1.

This proposal to fix the issue.

@CLAassistant
Copy link

CLAassistant commented Nov 22, 2024

CLA assistant check
All committers have signed the CLA.

@@ -535,6 +535,7 @@ import AVFoundation
guard let result = enclosingScrollView, result.documentView == self else {
return nil
}
result.automaticallyAdjustsContentInsets = false
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does the job. I wonder whether that can be avoided. I rather not modify scrollview this way as it may affect users in unexpected ways (I think). Maybe that is the only way to go, but also I'll take a look if we can avoid that.

@krzyzanowskim
Copy link
Owner

thank you! I decided to fix it in different way, so I'm not going to merge this PR. It was very helpful nonetherless! Change is on the main branch as of now.

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

Successfully merging this pull request may close these issues.

3 participants