xamarin/Xamarin.Forms

[Bug] iOS CollectionView's Scrolled event can not be fired when scrolling in HeaderTemplate

オープン

#8,548 opened on 2019/11/18

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
a/collectionviewe/2 :clock2:good first issuehelp wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Description

I use scrolled event of collection view for detecting scroll offset, then hide the StackLayout when scrolling up for more space at bottom. But when I create a HeaderTemplate which has HeightRequest bigger than current screen's height, the Scrolled event can not be fired, so I can not scroll down for showing the hidden layout. The ItemsViewScrolledEventArgs.VerticalOffset can not be back to zero. Take a look at before and after screenshot

Basic Information

  • Version with issue: Xamarin.Forms 4.3.0.947036
  • iOS: 13.2
  • Nuget Packages:

Screenshots

Before scrolling up image

After, can not scroll down to view the top layout

image

Reproduction link

https://drive.google.com/file/d/1Ug5Hzr2tw947UyDU6SZjqUOdTcMqdFrs/view?usp=sharing

コントリビューターガイド