• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Instagram / IGListKit / 2322
100%

Build:
DEFAULT BRANCH: master
Ran 25 May 2019 08:21PM UTC
Jobs 2
Files 101
Run time 8min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2322

push

travis-ci

facebook-github-bot
<a href="https://github.com/Instagram/IGListKit/commit/619b83571">Fix scrollToObject: inconsistency bug when scrolling to bottom/right with content inset (#1284)

Summary:
The implementation of
```Objective-C
-[IGListAdapter scrollToObject:supplementaryKinds:scrollDirection:scrollPosition:animated:]
```
has little inconsistencies where the `UICollectionViewScrollPositionLeft` and `UICollectionViewScrollPositionTop` considering the content inset left/top of the collection view was being applied to the final offset. However, the `UICollectionViewScrollPositionRight` and `UICollectionViewScrollPositionBottom` ignoring the content inset right/bottom of the collection view was being applied to the final offset. The different result is that scrolling to the most `Left/Top`, the first section content always be visible by considering its content inset while scrolling to the most `Right/Bottom`, the last section content always be fully displayed but not be fully visible by considering its content inset.

## Changes in this pull request

Issue fixed: #

### Checklist

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn&#39;t tested.
- [x] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Pull Request resolved: https://github.com/Instagram/IGListKit/pull/1284

Reviewed By: lorixx

Differential Revision: D13590416

Pulled By: lorixx

fbshipit-source-id: </a><a class="double-link" href="https://github.com/Instagram/IGListKit/commit/ae52be9e5">ae52be9e5</a>

13310 of 14379 relevant lines covered (92.57%)

451.25 hits per line

Jobs
ID Job ID Ran Files Coverage
11 2322.11 (DESTINATION="$IOS_DESTINATION_12" WORKSPACE="IGListKit.xcworkspace" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME", Gemfile) 25 May 2019 08:21PM UTC 0
92.56
Travis Job 2322.11
12 2322.12 (DESTINATION="$IOS_DESTINATION_11" WORKSPACE="IGListKit.xcworkspace" SDK="$IOS_SDK" SCHEME="$IOS_SCHEME", Gemfile) 25 May 2019 08:28PM UTC 0
92.56
Travis Job 2322.12
Source Files on build 2322
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2322
  • 619b8357 on github
  • Prev Build on master (#2318)
  • Next Build on master (#2325)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc