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

SelectorBar only displays first SelectorBarItem on android and has a strange animation when clicking selected SelectorBarItem. #18876

Closed
DavidM29 opened this issue Nov 21, 2024 · 2 comments
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@DavidM29
Copy link

Current behavior

SelectorBar only displays the first SelectorBarItem on android and has a strange animation when clicking an already selected SelectorBarItem.

Expected behavior

All SelectorBarItems should be displayed and the animations should match windows.

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

  • Run the repro app on android.
  • Only the first SelectorBarItem gets displayed.
  • Click the SelectorBarItem once to select it. Click it second time to see the "strange" animation.
    UnoApp1.zip

Workaround

Have not found any.

Works on UWP/WinUI

Yes

Environment

No response

NuGet package version(s)

Uno.Sdk: 5.5.43

Affected platforms

Android

IDE

Visual Studio 2022

IDE version

17.12.1

Relevant plugins

No response

Anything else we need to know?

No response

@DavidM29 DavidM29 added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Nov 21, 2024
@MartinZikmund
Copy link
Member

SelectorBar is currently not supported on non-Skia targets - upvote the following issue: #15707.

As an alternative, check out TabBar in Uno Toolkit

@DavidM29
Copy link
Author

Thanks @MartinZikmund, I went with Segmented from WCT.

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 triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

No branches or pull requests

2 participants