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

Control is not displayed in Xamarin Community Toolkit TabView #58

Open
VolodaUa opened this issue Nov 30, 2021 · 2 comments
Open

Control is not displayed in Xamarin Community Toolkit TabView #58

VolodaUa opened this issue Nov 30, 2021 · 2 comments
Assignees

Comments

@VolodaUa
Copy link

VolodaUa commented Nov 30, 2021

Something is wrong when the color picker is child element of TabViewItem(control -> Xamarin Community Toolkit TabView).
https://docs.microsoft.com/en-us/xamarin/community-toolkit/views/tabview

The color picker becomes transparent, but the color selection is still available.
You can swipe and see the selected color is changing.
I attached the sample which shows the issue.

Steps to reproduce the behavior:

  1. Open the sample app(TestApp.Android).
  2. Click on 'Tab 2.'
  3. Click on 'Tab 1.'
  4. See error

Expected behavior
The Color picker must be visible and displayed.

Screenshots
Screenshot 2021-11-30 at 18 24 12

Sample Project
ColorPicker-master.zip

Information

  • Device: Samsung m51, any emulator
  • OS: Android only, iOS works well
  • Version: 1.3.4.21, XF: 5.0
@vpapenko vpapenko self-assigned this Dec 2, 2021
@VolodaUa
Copy link
Author

VolodaUa commented Dec 2, 2021

The workaround was found.
I found that the control uses SKGLView for drawing on Android.
Replacing to SKCanvasView helped to fix the issue.
iOS uses it and it works well. The same I can tell about Android. Performance issues weren't found.

@vpapenko Could you please tell me did you had some specific reason to use SKGLView on Android?
I found that there is a difference in rendering - SKCanvasView - CPU, SKGLView - GPU.

@vpapenko
Copy link
Owner

vpapenko commented Dec 3, 2021

Hi @VolodaUa
Thank you for your investigation.
I started to use different SK Views because of optimization for the UWP platform.
Give me some time to check these changes and test your solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants