xamarin/Xamarin.Forms

Flexlayout flickers when remove child

Aperta

#3961 aperta il 1 ott 2018

 (1 commento) (1 reazione) (1 assegnatario)C# (1926 fork)batch import
a/flexa/layoute/4 :clock4:excellent-reporthelp wantedinactivet/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor