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

TabBar have one extra focus Item on the last position - When tab between Items. #1274

Open
2 of 11 tasks
rafael-rosa-knowcode opened this issue Nov 4, 2024 · 0 comments
Open
2 of 11 tasks
Labels
control/tabbar kind/bug Something isn't working

Comments

@rafael-rosa-knowcode
Copy link
Contributor

What would you like to be added:

Using the TabBar, when navigating using the Tab, there is a last element that is not visible but receives the Tab focus.
The request is that the last element that is not visible does not receive the focus.

This is the Sample
https://playground.platform.uno/#89efac24

And this is the test case

  <StackPanel>
    <Button Content="Click and Start Here, than tab 5 times"/>
    <utu:TabBar Width="300">
      <utu:TabBarItem Content="Item 1" />
      <utu:TabBarItem Content="Item 2" />
      <utu:TabBarItem Content="Item 3" />
      <utu:TabBarItem Content="Item 4" />
    </utu:TabBar>
    <Button Content="Final, we lost one visible focus"/>
  </StackPanel>

Why is this needed:

This is to allow for more fluid navigation and without the user thinking that it is a failure of their application.

For which Platform:

  • WebAssembly
  • Android
  • iOS
  • macOS (AppKit)
  • Mac Catalyst
  • Skia
    • WPF
    • GTK (Linux)
    • Linux Framebuffer
    • Tizen
  • Windows

Anything else we need to know?

@rafael-rosa-knowcode rafael-rosa-knowcode added kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification. labels Nov 4, 2024
@Xiaoy312 Xiaoy312 added control/tabbar kind/bug Something isn't working and removed kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification. labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
control/tabbar kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants