Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues regarding Pivot control #5144

Closed
3 of 17 tasks
Mohsens22 opened this issue Feb 4, 2021 · 4 comments · Fixed by #5213
Closed
3 of 17 tasks

Issues regarding Pivot control #5144

Mohsens22 opened this issue Feb 4, 2021 · 4 comments · Fixed by #5213
Assignees
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working project/binding 🪢 Categorizes an issue or PR as relevant to the binding engine project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...)
Milestone

Comments

@Mohsens22
Copy link

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)
@Mohsens22 Mohsens22 added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Feb 4, 2021
@carldebilly
Copy link
Member

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

@carldebilly carldebilly added project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) project/binding 🪢 Categorizes an issue or PR as relevant to the binding engine labels Feb 4, 2021
@francoistanguay francoistanguay added this to the 3.5 milestone Feb 5, 2021
@Mohsens22
Copy link
Author

image
Things in Skia are way worse

@Mohsens22
Copy link
Author

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

@ajpinedam
Copy link
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

@carldebilly carldebilly removed the triage/untriaged Indicates an issue requires triaging or verification label Feb 9, 2021
@ajpinedam ajpinedam linked a pull request Feb 12, 2021 that will close this issue
6 tasks
@jeromelaban jeromelaban modified the milestones: 3.5, 3.6 Feb 15, 2021
@jeromelaban jeromelaban added the difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. label Feb 15, 2021
@mergify mergify bot closed this as completed in #5213 Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working project/binding 🪢 Categorizes an issue or PR as relevant to the binding engine project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants