xamarin/Xamarin.Forms

Flexlayout flickers when remove child

Open

#3,961 opened on Oct 1, 2018

 (1 comment) (1 reaction) (1 assignee)C# (1,926 forks)batch import
a/flexa/layoute/4 :clock4:excellent-reporthelp wantedinactivet/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide