UICollectionView scrollIndicator displayed under section header view

Originator:mauricio.meirelles
Number:rdar://34829104 Date Originated:05/09/2017
Status:Created Resolved:
Product:iOS + SDK Product Version:11.1 (15B5066e)
Classification:UI/Usability Reproducible:Always
 
Area:
UIKit

Summary:
UICollectionview scrollIndicator is always being displayed behind the section header view on iOS 11.

Steps to Reproduce:
Create a collectionview with some sections and an empty UICollectionReusableView as a header view. Change the background color of this view to something, like redColor for example.
The scrollIndicator will be displayed behind the header view.

Expected Results:
The scrollIndicator needs to be displayed in front of all the views from the collection view.

Actual Results:
The scrollIndicator is displayed behind the section header view.

Version/Build:
11.1 (15B5066e)

Project example:
https://github.com/mauriciomeirelles/CollectionviewView_scrollIndicator_Bug

Comments

I added a proposed workaround here https://github.com/mauriciomeirelles/CollectionviewView_scrollIndicator_Bug/pull/1.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!