ScrollView scrollToContentEdge action goes into infinite loop
- Dominant language
- Objective-C
- Stars
- 5.7k
- Forks
- 737
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 5
Description
ScrollView scrollToContentEdge action goes into infinite loop if scrollView's content size is smaller than scrollView's frame size. In general, the scrollView's content might be scrollable on smaller devices while same not content might not be scrollable on bigger devices. So, it is desirable that if content is smaller than scrollView's frame, the action `scrollToContentEdge` will not have any impact so that we could have device agnostic tests.
But currently the `scrollToContentEdge` action is going into infinite loop when content is smaller than scrollView's frame. #631 can be used to simulate the issue.
Contributor guide
Research direction
Start by locating the scrollToContentEdge action in EarlGrey and reproduce the behavior using the scenario described in issue #631. Trace what happens when the content size is smaller than the scroll view frame. Done means the action no longer loops and has no impact in that case, while existing scrollable-content behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, objective-c
- Domain
- mobile-dev, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100