Skip to content

Issues regarding Pivot control #5144

Closed

Description

@ryan-seifi

Current behavior

When using a pivot with binding, after the page loads, all of the contents of all pages are stacked onto each other.
image

Problem number 2:
When using pivot controls, something similar to #5125 happens.

Expected behavior

The expected behavior is that it normally loads the data from the binding and shows it properly, just like UWP.

How to reproduce it (as minimally and precisely as possible)

See this code:
http://playground.platform.uno/#aed77628

Workaround

Workaround for binding issue: initialize a 10-100 millisecond delay from the load of the page/ViewModel to binding.
Workaround for display issue: Create a custom pivot template and get rid of the scroll viewer inside it.

Environment

  • Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia
  • Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
  • Uno.SourceGenerationTasks
  • Uno.UI.RemoteControl / Uno.WinUI.RemoteControl
  • Other:

Nuget Package Version(s):

Affected platform(s):

  • iOS
  • Android
  • [x ] WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS
  • Skia
    • WPF
    • GTK (Linux)
    • Tizen
  • Windows
  • Build tasks
  • Solution Templates

IDE:

  • Visual Studio 2019 (version: Latest)

Activity

  1. added
    kind/bug
    triage/untriaged
    on Feb 4, 2021
  2. carldebilly commented on Feb 4, 2021

    @carldebilly
    Member

    It's very strange because changing the data will fix the problem. Look like a state problem.

  3. added
    project/input ⌨️
    project/binding 🪢
    on Feb 4, 2021
  4. added this to the 3.5 milestone on Feb 5, 2021
  5. ryan-seifi commented on Feb 7, 2021

    @ryan-seifi
    Author

    image
    Things in Skia are way worse

  6. ryan-seifi commented on Feb 7, 2021

    @ryan-seifi
    Author

    It doesn't even show the default two-way bound data

  7. ajpinedam commented on Feb 9, 2021

    @ajpinedam
    Contributor

    Hi @mohsens22 thank you for reporting this issue and also for providing an easy way to reproduce it.

    I see you selected Android as one of the affected platforms, is this correct?

    I was capable of reproducing the error using the code you provided on both Skia and WASM but I haven't been able to reproduce it on Android (Pixel XL Android 10).

    Anyways I will be looking to fix this, just wanted to make sure we are fixing all the affected platforms.

    Andres

  8. removed
    triage/untriaged
    on Feb 9, 2021
  9. modified the milestones: 3.5, 3.6 on Feb 15, 2021
  10. added
    difficulty/tbd
    on Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

difficulty/tbdkind/bugproject/binding 🪢project/input ⌨️

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions