xamarin/Xamarin.Forms

Screen Blinking when adding children dynamically to StackLayout

オープン

#9,048 opened on 2019/12/30

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
e/6 :clock6:help wantedinactivep/Androidp/iOS 🍎t/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Video.zip

Description

When adding children dynamically in StackLayout screen blink before painting the screen.

I have attached the video of production app but attached sample is different. Flickering is happening in video as well as attached sample. Flickering can be noticed at 10 and 19 sec in the video. FlickeringSample.zip

Steps to Reproduce

  1. Run the attached sample
  2. Continuously click on Add Button.
  3. Notice screen flickering after adding the new children.

Expected Behaviour

Elements should not flicker when adding element dynamically.

Actual Behaviour

Screen flickering after adding the new children

Basic Information

  • Version with issue:
  • Last known good version: None
  • IDE: Visual Studio Mac
  • Platform Target Frameworks:
    • iOS: 11.3
    • Android: 10
    • UWP: None
  • Android Support Library Version:
  • Nuget Packages: 4.2
  • Affected Devices: iOS and Android

Screenshots

Video is attached

Reproduction Link

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