xamarin/Xamarin.Forms

Flexlayout flickers when remove child

开放

#3,961 创建于 2018年10月1日

 (1 条评论) (1 个反应) (1 位负责人)C# (1,926 个派生)batch import
a/flexa/layoute/4 :clock4:excellent-reporthelp wantedinactivet/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Sample

[XamarinFlexLayoutVideoIssue.zip] ** video play frame rate is slowed down (https://github.com/xamarin/xamarin-forms-samples/files/2433731/XamarinFlexLayoutIssue.zip)

[FlexLayoutSample.zip] (https://github.com/xamarin/xamarin-forms-samples/files/2433751/FlexLayoutSample.zip)

Description

FlexLayout flickers when removing a child from it

  • Notice the last second in the attached video, you will see the flexlayout expands to fill the page, and then goes back to correct height.

Steps to Reproduce

1.Open the sample and click on Experiment 2.Change the wrap property to FlexWrap.Wrap 3.Add items to be in multi line 4.Remove items

Expected Behavior

The child should be removed smoothly without flickering

Actual Behavior

FlexLayout flickers when removing from the FlexLayout Children

Information

  • IDE and IDE version: Visual Studio 2017 v15.6
  • Platform with the issue:
    • iOS: tested on 12.0
    • Android: tested on 8.0
  • Device or simulator/emulator: simulator and device

贡献者指南