xamarin/Xamarin.Forms

Flexlayout flickers when remove child

オープン

#3,961 opened on 2018/10/01

 (1 件のコメント) (1 件のリアクション) (1 人の担当者)C# (1,926 件のフォーク)batch import
a/flexa/layoute/4 :clock4:excellent-reporthelp wantedinactivet/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged 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

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