xamarin/Xamarin.Forms

Flexlayout flickers when remove child

Ouverte

#3 961 ouverte le 1 oct. 2018

 (1 commentaire) (1 réaction) (1 personne assignée)C# (1 926 forks)batch import
a/flexa/layoute/4 :clock4:excellent-reporthelp wantedinactivet/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur