xamarin/Xamarin.Forms

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

开放

#2,085 创建于 2018年3月12日

 (3 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/listviewa/performancee/4 :clock4:help wantedi/highp/iOS 🍎t/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南