xamarin/Xamarin.Forms

iOS: ContextAction collection changes cause slow-down and eventual freeze

オープン

#2,085 opened on 2018/03/12

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
a/listviewa/performancee/4 :clock4:help wantedi/highp/iOS 🍎t/bug :bug:up-for-grabs

Repository metrics

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

説明

Description

Each Change to the ContextActions in a ListView or TableView cause an exponentially increasing UI freeze on iOS.

Steps to Reproduce

  1. Create a ViewCell with context actions
  2. Repeatedly change the context actions in some way (usually based on ViewCell/ViewModel state)

Expected Behavior

Context Menu (swipe left on iOS, hold on Android, right-click on UWP, etc) should reflect this change immediately with no UI slow down.

Actual Behavior

On iOS, on every change, the UI gets slower and slower to respond till it eventually freezes indefinitely.

Basic Information

  • Version with issue: 2.5.0.280555
  • IDE: Visual Studio 2017
  • Platform Target Frameworks:
    • iOS: 11.8.0.20
  • Devices: Tested on iPhone 6 Plus

Video

https://github.com/sonic1015/bugRepo/files/1835039/2018-03-12.T16-17-07.zip

Reproduction Link

https://github.com/sonic1015/bugRepo/archive/1.zip

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