wordpress-mobile / wordpress-mobile/AztecEditor-iOS
[Question] Wait for TextView to finish loading all images?
@SergioEstevao is already working on this.
Since May 1, 2020.
- Dominant language
- Swift
- Stars
- 669
- Forks
- 153
- Avg merge
- 11h 27m
- Merged PRs (30d)
- 4
Description
I'm currently using the TextView as a way to display HTML content in my app, so no editing.
I have a commenting section underneath the TextView to which I want to auto-scroll to under certain circumstances (eg, scroll to a reply on a comment). This can occur right after the view controller finishes loading and setting up, but before all images in the TextView have finished downloading.
The result is that occasionally the scroll is triggered too soon, resulting in scrolling to the commenting section, but then the images finish loading, changing the height of the TextView and moving the comment section away from where I wanted to display it.
Is there a way I can listen for when all media content in the TextView has finished downloading so that I can perform my auto scrolling afterwards?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.